AMPS C# Client
5.3.3.4
AMPS C# Client for .NET
|
Implements a secure transport for communicating with AMPS over a SslStream. More...
Public Member Functions | |
TCPSTransport (Protocol protocol, TCPSTransportImpl impl) | |
Construct a TCPSTransport object for the given Protocol. More... | |
TCPSTransport (Protocol protocol, Properties properties) | |
Construct a TCPSTransport object for the given Protocol. More... | |
![]() | |
TCPTransport (Protocol msgType, Properties properties) | |
TCPTransport (Protocol msgType, TCPTransportImpl impl) | |
void | setIdleAction (Action idleAction) |
void | setMessageHandler (MessageHandler ml) |
void | setDisconnectHandler (TransportDisconnectHandler dh) |
void | setExceptionListener (TCPTransportImpl.ExceptionListener exceptionListener) |
void | setThreadCreatedHandler (ThreadCreatedHandler handler) |
void | setTransportFilter (TransportFilter filter_) |
Sets a TransportFilter that filters raw bytes bfeore send and after receive. More... | |
void | setReadTimeout (int readTimeoutMillis_) |
void | connect (Uri uri) |
Connect to an AMPS server. More... | |
void | close () |
void | disconnect () |
void | handleCloseEvent (int failedVersion, String message, Exception exception) |
void | sendWithoutRetry (Message message) |
void | send (Message message) |
Message | allocateMessage () |
long | writeQueueSize () |
long | readQueueSize () |
long | flush () |
long | flush (long timeout) |
Socket | socket () |
int | getVersion () |
Protected Member Functions | |
override void | createImpl () |
Properties | |
static RemoteCertificateValidationCallback | RemoteCertificateValidationCallback [get, set] |
Gets or sets the callback delegate used by SslStream to validate the remote certificate from AMPS.
| |
static SslProtocols | EnabledSslProtocols [get, set] |
Gets or sets the enabled SSL protocols used for connecting to AMPS.
| |
static bool | CheckCertificateRevocation [get, set] |
Gets or sets whether certificate revocation should be checked.
| |
Additional Inherited Members | |
![]() | |
static TCPTransport | createTransport (Protocol messageType, TCPTransportImpl impl) |
static void | setDefaultConnectTimeout (int defaultConnectTimeoutMillis_) |
Sets the default connect timeout used for new connections. More... | |
static int | getDefaultConnectTimeout () |
Returns the default connect timeout used for new connections. More... | |
![]() | |
TCPTransportImpl | impl = null |
Protocol | protocol = null |
Uri | uri = null |
object | sendLock = new object() |
MemoryStream | sendBuffer = new MemoryStream(4096) |
Properties | properties = null |
![]() | |
static int | _defaultConnectTimeout = 0 |
Implements a secure transport for communicating with AMPS over a SslStream.
System.Net.Security.SslStream
|
inline |
Construct a TCPSTransport object for the given Protocol.
protocol | The protocol for communcating with AMPS. |
|
inline |
Construct a TCPSTransport object for the given Protocol.
protocol | The protocol for communicating with AMPS. |
properties | Custom properties used by the underlying TCP transport. |
|
staticgetset |
Gets or sets whether certificate revocation should be checked.
|
staticgetset |
Gets or sets the enabled SSL protocols used for connecting to AMPS.
|
staticgetset |
Gets or sets the callback delegate used by SslStream to validate the remote certificate from AMPS.