Inheritance: IDisposable, ICloneable
Exemplo n.º 1
0
 /// <summary>
 /// Attempts to send the transfer over the outgoing channel.
 /// </summary>
 /// <param name="delivery">The delivery owning the transfer.</param>
 /// <param name="transfer">The transfer command to send.</param>
 /// <param name="payload">The payload to carry in the transfer frame.</param>
 /// <returns>True if the transfer is sent; false if session window is 0.</returns>
 public bool TrySendTransfer(Delivery delivery, Transfer transfer, ByteBuffer payload)
 {
     // delivery MUST be null for continued transfer fragments
     return(this.outgoingChannel.TrySendTransfer(delivery, transfer, payload));
 }
Exemplo n.º 2
0
 internal void SendCommand(Performative command, ByteBuffer payload)
 {
     AmqpDebug.Log(this, true, command);
     this.connection.SendCommand(command, this.LocalChannel, payload);
 }