C# Class Amqp.ConnectionFactory

The factory to create connections asynchronously.
Inheritance: Amqp.ConnectionFactoryBase
Afficher le fichier Open project: xamarin/mini-hacks Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
ConnectionFactory ( ) : System

Constructor to create a connection factory.

CreateAsync ( Address address ) : Task

Creates a new connection.

CreateAsync ( Address address, Amqp.Framing.Open open, OnOpened onOpened ) : Task

Creates a new connection with a custom open frame and a callback to handle remote open frame.

Method Details

ConnectionFactory() public méthode

Constructor to create a connection factory.
public ConnectionFactory ( ) : System
Résultat System

CreateAsync() public méthode

Creates a new connection.
public CreateAsync ( Address address ) : Task
address Address The address of remote endpoint to connect to.
Résultat Task

CreateAsync() public méthode

Creates a new connection with a custom open frame and a callback to handle remote open frame.
public CreateAsync ( Address address, Amqp.Framing.Open open, OnOpened onOpened ) : Task
address Address The address of remote endpoint to connect to.
open Amqp.Framing.Open If specified, it is sent to open the connection, otherwise an open frame created from the AMQP settings property is sent.
onOpened OnOpened If specified, it is invoked when an open frame is received from the remote peer.
Résultat Task