C# Class Amqp.Listener.ConnectionListener

The conneciton listener accepts AMQP connections from an address.
Inheritance: ConnectionFactoryBase
显示文件 Open project: xamarin/mini-hacks Class Usage Examples

Public Methods

Method Description
Close ( ) : void

Closes the listener.

ConnectionListener ( Uri addressUri, string userInfo, IContainer container ) : System

Initializes the connection listener object.

Open ( ) : void

Opens the listener.

Private Methods

Method Description
GetServiceCertificate ( ) : X509Certificate2
HandleTransportAsync ( IAsyncTransport transport ) : System.Threading.Tasks.Task
OnConnectionClosed ( AmqpObject sender, Error error ) : void

Method Details

Close() public method

Closes the listener.
public Close ( ) : void
return void

ConnectionListener() public method

Initializes the connection listener object.
public ConnectionListener ( Uri addressUri, string userInfo, IContainer container ) : System
addressUri System.Uri
userInfo string
container IContainer
return System

Open() public method

Opens the listener.
public Open ( ) : void
return void