Class SessionAttributes
Constants relating to the ISessionAttributes interface.
Namespace: PushTechnology.ClientInterface.Client.Session
Assembly: Diffusion.Client.dll
Syntax
public static class SessionAttributes : object
Remarks
Added in 5.0.
Fields
DEFAULT_CONNECTION_TIMEOUT
The default connection timeout in milliseconds.
Declaration
public static readonly int DEFAULT_CONNECTION_TIMEOUT
Field Value
Type | Description |
---|---|
Int32 | 2 seconds. |
Remarks
Added in 5.0.
See Also
DEFAULT_INPUT_BUFFER_SIZE
The default size of socket and message input buffers in bytes.
Declaration
public static readonly int DEFAULT_INPUT_BUFFER_SIZE
Field Value
Type | Description |
---|---|
Int32 | 1 MiB. |
Remarks
Added in 5.0.
See Also
DEFAULT_MAXIMUM_MESSAGE_SIZE
The default maximum message size in bytes.
Declaration
public static readonly int DEFAULT_MAXIMUM_MESSAGE_SIZE
Field Value
Type | Description |
---|---|
Int32 | ~2 GiB ( |
Remarks
Added in 5.0.
See Also
DEFAULT_MAXIMUM_QUEUE_SIZE
The default maximum outbound queue size in messages.
Declaration
public static readonly int DEFAULT_MAXIMUM_QUEUE_SIZE
Field Value
Type | Description |
---|---|
Int32 | 1000 messages. |
Remarks
Added in 5.9.
See Also
DEFAULT_OUTPUT_BUFFER_SIZE
The default size of socket and message output buffers in bytes.
Declaration
public static readonly int DEFAULT_OUTPUT_BUFFER_SIZE
Field Value
Type | Description |
---|---|
Int32 | 1 MiB. |
Remarks
Added in 5.0.
See Also
DEFAULT_RECONNECTION_TIMEOUT
The default reconnection timeout in milliseconds.
Declaration
public static readonly int DEFAULT_RECONNECTION_TIMEOUT
Field Value
Type | Description |
---|---|
Int32 | 60 seconds. |
Remarks
Added in 5.5.
See Also
DEFAULT_RECOVERY_BUFFER_SIZE
The default recovery buffer size in messages.
Declaration
public static readonly int DEFAULT_RECOVERY_BUFFER_SIZE
Field Value
Type | Description |
---|---|
Int32 | 128 messages. |
Remarks
Added in 6.0.
See Also
DEFAULT_WRITE_TIMEOUT
The default write timeout for blocking writes in milliseconds.
Declaration
public static readonly int DEFAULT_WRITE_TIMEOUT
Field Value
Type | Description |
---|---|
Int32 | 2 seconds. |
Remarks
Added in 5.0.
See Also
MAXIMUM_MESSAGE_SIZE_MIN
The minimum value that the maximum message size can be set to in bytes.
Declaration
public static readonly int MAXIMUM_MESSAGE_SIZE_MIN
Field Value
Type | Description |
---|---|
Int32 | 1024 bytes. |
Remarks
Added in 5.0.