The Container that hosts one ore more AMQP connections that share a given AMQP container Id. More...
Public Member Functions | |
void | Close () |
Blocking close method that waits for all open connections to be closed before returning to the caller. More... | |
Task< IClient > | CloseAsync () |
Initiates an asynchronous close of all the connections created from this client container. The returned Task allows the caller to wait for the close to complete or check in periodically to see if the operation has finished. More... | |
IConnection | Connect (string host, int port, ConnectionOptions options=null) |
Creates a new connection to the designated remote host on the provided port. The connection is configured using the provided connection options. This method does not block waiting for the actual IO level connection to be established, a new IConnection instance will be return which the caller can begin using. To await full connection to the remote the caller should use the open task exposed by the IConnection to wait the outcome. More... | |
IConnection | Connect (string host, ConnectionOptions options=null) |
Creates a new connection to the designated remote host on the default AMQP port. The connection is configured using the provided connection options. This method does not block waiting for the actual IO level connection to be established, a new IConnection instance will be return which the caller can begin using. To await full connection to the remote the caller should use the open task exposed by the IConnection to wait the outcome. More... | |
Static Public Member Functions | |
static IClient | Create (ClientOptions options=null) |
Creates a new IClient instance using the Proton default implementation which has been configured using the provided client options. More... | |
Properties | |
string | ContainerId [get] |
Returns the fixed AMQP container Id value this connection was created with. More... | |
The Container that hosts one ore more AMQP connections that share a given AMQP container Id.
void Apache.Qpid.Proton.Client.IClient.Close | ( | ) |
Blocking close method that waits for all open connections to be closed before returning to the caller.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientInstance.
Task<IClient> Apache.Qpid.Proton.Client.IClient.CloseAsync | ( | ) |
Initiates an asynchronous close of all the connections created from this client container. The returned Task allows the caller to wait for the close to complete or check in periodically to see if the operation has finished.
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientInstance.
IConnection Apache.Qpid.Proton.Client.IClient.Connect | ( | string | host, |
ConnectionOptions | options = null |
||
) |
Creates a new connection to the designated remote host on the default AMQP port. The connection is configured using the provided connection options. This method does not block waiting for the actual IO level connection to be established, a new IConnection instance will be return which the caller can begin using. To await full connection to the remote the caller should use the open task exposed by the IConnection to wait the outcome.
host | The remote host this connection should connect to |
options | Optional connection options to use to configure the connection |
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientInstance.
IConnection Apache.Qpid.Proton.Client.IClient.Connect | ( | string | host, |
int | port, | ||
ConnectionOptions | options = null |
||
) |
Creates a new connection to the designated remote host on the provided port. The connection is configured using the provided connection options. This method does not block waiting for the actual IO level connection to be established, a new IConnection instance will be return which the caller can begin using. To await full connection to the remote the caller should use the open task exposed by the IConnection to wait the outcome.
host | The remote host this connection should connect to |
port | The port on the remote host where the connection is established |
options | Optional connection options to use to configure the connection |
Implemented in Apache.Qpid.Proton.Client.Implementation.ClientInstance.
|
inlinestatic |
|
get |
Returns the fixed AMQP container Id value this connection was created with.