NATS Streaming .NET Client
0.1.5
The nats.io .NET Streaming C# Client
|
Static Public Member Functions | |
static StanOptions | GetDefaultOptions () |
Properties | |
string | NatsURL [get, set] |
IConnection | NatsConn [set] |
int | ConnectTimeout [get, set] |
long | PubAckWait [get, set] |
string | DiscoverPrefix [get, set] |
long | MaxPubAcksInFlight [get, set] |
int | PingMaxOutstanding [get, set] |
int | PingInterval [get, set] |
EventHandler< StanConnLostHandlerArgs > | ConnectionLostEventHandler [get, set] |
Options available to configure a connection to the NATS streaming server.
|
static |
Returns the default connection options.
|
getset |
Represents the method that will handle an event raised when a connection has been disconnected from a streaming server.
|
getset |
ConnectTimeout is an Option to set the timeout for establishing a connection in milliseconds.
|
getset |
Sets the discover prefix used in connecting to the NATS streaming server. This must match the settings on the NATS streaming sever.
|
getset |
MaxPubAcksInflight is an Option to set the maximum number of published messages without outstanding ACKs from the server.
|
set |
Sets the underlying NATS connection to be used by a NATS Streaming connection object.
|
getset |
Gets or sets the url to connect to a NATS server.
|
getset |
PingInterval is an option to set the interval of pings in milliseconds. See StanConsts.DefaultPingInterval.
|
getset |
PingMaxOutstanding is an option to set the maximum number of outstanding pings with the streaming server. See StanConsts.DefaultPingMaxOut.
|
getset |
PubAckWait is an option to set the timeout for waiting for an ACK for a published message in milliseconds. The value must be greater than zero.