Interface ISessionAttributes
The session attributes interface.
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public interface ISessionAttributes
Properties
ConnectionTimeout
Returns the connection timeout value in milliseconds.
Declaration
int ConnectionTimeout { get; }
Property Value
Type | Description |
---|---|
Int32 |
HttpProxyAuth
Returns the proxy authentication interface.
Declaration
IHttpProxyAuthentication HttpProxyAuth { get; }
Property Value
Type | Description |
---|---|
IHttpProxyAuthentication |
HttpProxyHost
Returns the http proxy host.
Declaration
string HttpProxyHost { get; }
Property Value
Type | Description |
---|---|
String |
HttpProxyPort
Returns the http proxy host port.
Declaration
int HttpProxyPort { get; }
Property Value
Type | Description |
---|---|
Int32 |
InputBufferSize
Returns the input buffer size in bytes.
Declaration
int InputBufferSize { get; }
Property Value
Type | Description |
---|---|
Int32 |
LocalSocketAddress
Returns the SSL context for secure connections.
Declaration
SocketAddress LocalSocketAddress { get; }
Property Value
Type | Description |
---|---|
SocketAddress |
MaximumMessageSize
Returns the maximum message size that can be handled by this session.
Declaration
int MaximumMessageSize { get; }
Property Value
Type | Description |
---|---|
Int32 |
MaximumQueueSize
Gets the maximum outbound queue size in messages.
Declaration
int MaximumQueueSize { get; }
Property Value
Type | Description |
---|---|
Int32 |
OutputBufferSize
Returns the output buffer size in bytes.
Declaration
int OutputBufferSize { get; }
Property Value
Type | Description |
---|---|
Int32 |
ReconnectionStrategy
Gets the reconnection strategy that determines the reconnection behavior.
Declaration
IReconnectionStrategy ReconnectionStrategy { get; }
Property Value
Type | Description |
---|---|
IReconnectionStrategy |
ReconnectionTimeout
Gets the reconnection timeout in milliseconds.
Declaration
int ReconnectionTimeout { get; }
Property Value
Type | Description |
---|---|
Int32 |
Remarks
The timeout indicates for how long the client will attempt reconnection to the server. After the time limit is reached the client will simply close the session.
RecoveryBufferSize
Returns the recovery buffer size in messages.
Declaration
int RecoveryBufferSize { get; }
Property Value
Type | Description |
---|---|
Int32 |
ServerUrl
Returns the URL used to create the session.
Declaration
string ServerUrl { get; }
Property Value
Type | Description |
---|---|
String |
WriteTimeout
Returns the write timeout value in milliseconds.
Declaration
int WriteTimeout { get; }
Property Value
Type | Description |
---|---|
Int32 |