Method | Description | |
---|---|---|
ConnectionFactory ( ) : System |
Creates a new instance of ConnectionFactory using an instance of ClientOptions with its default parameters.
|
|
ConnectionFactory ( Cet.NATS.Client.ClientOptions options ) : System |
Creates an instance of ConnectionFactory using the provided ClientOptions as parameters.
|
|
CreateConnection ( ) : IConnection |
Create a connection to the NATs server using the ConnectionFactory options. This method returns immediately, before the actual connection setup and the successful completion of the handshake |
|
CreateConnection ( Cet.NATS.Client.ClientOptions options ) : IConnection |
Create a connection to a NATS Server defined by the given options. This method returns immediately, before the actual connection setup and the successful completion of the handshake |
|
CreateConnectionAsync ( CancellationToken token ) : Task |
Create a connection to the NATs server using the ConnectionFactory options. This method returns only after the actual connection setup and the successful completion of the handshake. |
|
CreateConnectionAsync ( Cet.NATS.Client.ClientOptions options, CancellationToken token ) : Task |
Create a connection to a NATS Server defined by the given options. This method returns only after the actual connection setup and the successful completion of the handshake. |
public ConnectionFactory ( Cet.NATS.Client.ClientOptions options ) : System | ||
options | Cet.NATS.Client.ClientOptions | |
return | System |
public CreateConnection ( Cet.NATS.Client.ClientOptions options ) : IConnection | ||
options | Cet.NATS.Client.ClientOptions | A |
return | IConnection |
public CreateConnectionAsync ( CancellationToken token ) : Task |
||
token | CancellationToken | Propagates notification that operations should be canceled. |
return | Task |
public CreateConnectionAsync ( Cet.NATS.Client.ClientOptions options, CancellationToken token ) : Task |
||
options | Cet.NATS.Client.ClientOptions | A |
token | CancellationToken | Propagates notification that operations should be canceled. |
return | Task |