|
delegate void | ExceptionListener (Exception e) |
|
| TCPTransportImpl (Protocol messageType_, Properties properties_) |
|
void | setTransportFilter (TransportFilter filter_) |
|
void | setReadTimeout (int readTimeoutMillis_) |
|
void | setMessageHandler (MessageHandler h) |
|
void | setDisconnectHandler (TransportDisconnectHandler h) |
|
void | setExceptionListener (ExceptionListener e) |
|
void | setThreadCreatedHandler (ThreadCreatedHandler handler) |
|
void | setIdleAction (Action idleAction) |
|
void | connect (Uri addr) |
|
void | disconnect () |
|
void | send (MemoryStream buf) |
|
Socket | socket () |
|
long | writeQueueSize () |
|
long | readQueueSize () |
|
long | flush () |
|
long | flush (long timeout) |
|
virtual TCPTransport | createTransport (Protocol messageType, TCPTransportImpl impl) |
|
virtual void | handleCloseEvent (int failedVersion_, String message, Exception exception) |
|
|
object | _lock = new object() |
|
volatile int | _connectionVersion = 0 |
|
|
void | broadcastException (Exception e) |
|
virtual IPAddress | resolveAddress (Uri addr) |
|
virtual void | createSocket () |
|
virtual void | createStream (Uri uri) |
|
virtual void | connectSocket (Uri addr) |
|
virtual void | applySocketProperty (String propertyName, String propertyValue) |
| Applies a socket property to self. Override this to add custom properties to your transport or intercept the stock ones. More...
|
|
|
Uri | _addr |
|
IPAddress | _resolvedAddr |
|
Stream | _socketStream = null |
|
Socket | _socket = null |
|
◆ applySocketProperty()
virtual void AMPS.Client.TCPTransportImpl.applySocketProperty |
( |
String |
propertyName, |
|
|
String |
propertyValue |
|
) |
| |
|
inlineprotectedvirtual |
Applies a socket property to self. Override this to add custom properties to your transport or intercept the stock ones.
- Parameters
-
propertyName | The property name from the URI. |
propertyValue | The property value. |
The documentation for this class was generated from the following file:
- AMPS.Client/TCPTransportImpl.cs