Свойство | Тип | Описание | |
---|---|---|---|
DisableServerCertValidation | bool |
Свойство | Тип | Описание | |
---|---|---|---|
AddSession | ushort | ||
AllocateBuffer | ByteBuffer | ||
Connect | void | ||
Connection | System | ||
Connection | System | ||
GetSession | |||
OnBegin | void | ||
OnClose | void | ||
OnEnd | void | ||
OnEnded | void | ||
OnException | void | ||
OnFrame | bool | ||
OnHeader | bool | ||
OnHeartBeatTimer | void | ||
OnIoException | void | ||
OnOpen | void | ||
OnSessionCommand | void | ||
SendClose | void | ||
SendCommand | int | ||
SendCommand | void | ||
SendHeader | void | ||
SendOpen | void | ||
ThrowIfClosed | void | ||
WrapBuffer | ByteBuffer |
Метод | Описание | |
---|---|---|
Connection ( |
Initializes a connection from the address. The connection initialization includes establishing the underlying transport, which typically has blocking network I/O. Depending on the current synchronization context, it may cause deadlock or UI freeze. Please use the ConnectionFactory.CreateAsync method instead. |
|
Connection ( |
Initializes a connection with SASL profile, open and open callback. The connection initialization includes establishing the underlying transport, which typically has blocking network I/O. Depending on the current synchronization context, it may cause deadlock or UI freeze. Please use the ConnectionFactory.CreateAsync method instead. |
Метод | Описание | |
---|---|---|
OnClose ( Error error ) : bool |
Closes the connection.
|
Метод | Описание | |
---|---|---|
AddSession ( |
||
AllocateBuffer ( int size ) : ByteBuffer | ||
Connect ( Amqp.Sasl.SaslProfile saslProfile, Amqp.Framing.Open open ) : void | ||
Connection ( IBufferManager bufferManager, |
||
Connection ( ushort channelMax, uint maxFrameSize ) : System | ||
GetSession ( |
||
OnBegin ( ushort remoteChannel, Amqp.Framing.Begin begin ) : void | ||
OnClose ( Amqp.Framing.Close close ) : void | ||
OnEnd ( ushort remoteChannel, Amqp.Framing.End end ) : void | ||
OnEnded ( Error error ) : void | ||
OnException ( |
||
OnFrame ( ByteBuffer buffer ) : bool | ||
OnHeader ( Amqp.Framing.ProtocolHeader header ) : bool | ||
OnHeartBeatTimer ( object state ) : void | ||
OnIoException ( |
||
OnOpen ( Amqp.Framing.Open open ) : void | ||
OnSessionCommand ( ushort remoteChannel, Amqp.Types.DescribedList command, ByteBuffer buffer ) : void | ||
SendClose ( Error error ) : void | ||
SendCommand ( ushort channel, Amqp.Framing.Transfer transfer, bool first, ByteBuffer payload, int reservedBytes ) : int | ||
SendCommand ( ushort channel, Amqp.Types.DescribedList command ) : void | ||
SendHeader ( ) : void | ||
SendOpen ( Amqp.Framing.Open open ) : void | ||
ThrowIfClosed ( string operation ) : void | ||
WrapBuffer ( ByteBuffer buffer, int offset, int length ) : ByteBuffer |
public Connection ( |
||
address | The address. | |
Результат | System |
public Connection ( |
||
address | The address. | |
saslProfile | Amqp.Sasl.SaslProfile | The SASL profile to do authentication (optional). If it is /// null and address has user info, SASL PLAIN profile is used. |
open | Amqp.Framing.Open | The open frame to send (optional). If not null, all mandatory /// fields must be set. Ensure that other fields are set to desired values. |
onOpened | OnOpened | The callback to handle remote open frame (optional). |
Результат | System |