NATS .NET Client
1.1.4
The NATS.io .NET C# Client
|
Enumerations | |
enum | ConnState { DISCONNECTED = 0 , CONNECTED , CLOSED , RECONNECTING , CONNECTING , DRAINING_SUBS , DRAINING_PUBS } |
Functions | |
delegate byte[] | Serializer (Object obj) |
delegate Object | Deserializer (byte[] data) |
State of the IConnection.
Enumerator | |
---|---|
DISCONNECTED | The IConnection is disconnected. |
CONNECTED | The IConnection is connected to a NATS Server. |
CLOSED | The IConnection has been closed. |
RECONNECTING | The IConnection is currently reconnecting to a NATS Server. |
CONNECTING | The IConnection is currently connecting to a NATS Server. |
DRAINING_SUBS | The IConnection is currently draining subscriptions. |
DRAINING_PUBS | The IConnection is currently connecting draining publishers. |
delegate Object NATS.Client.Deserializer | ( | byte[] | data | ) |
Represents a method that will handle deserialization of a byte array into an Object.
data | The byte array in a Msg payload that contains the Object to deserialize. |
delegate byte[] NATS.Client.Serializer | ( | Object | obj | ) |
Represents the method that will handle serialization of obj to a byte array.
obj | The object to serialize. |