Пример #1
0
 /// <summary>
 /// Called when a link is being added to a session.
 /// </summary>
 /// <param name="session">The session.</param>
 /// <param name="link">The lin.</param>
 /// <param name="localHandle">Local handle of the link.</param>
 /// <param name="remoteHandle">Remote handle of the link.</param>
 /// <param name="linkName">Name of the link.</param>
 /// <param name="role">Role of the link.</param>
 /// <param name="source"><see cref="Source"/> of the link.</param>
 /// <param name="target"><see cref="Target"/> of the link.</param>
 public virtual void AmqpAttachLink(AmqpSession session, AmqpLink link, uint localHandle, uint remoteHandle, string linkName, string role, object source, object target)
 {
 }
Пример #2
0
 /// <summary>
 /// Called when a delivery is not found in the unsettled map of a link.
 /// </summary>
 /// <param name="link">The link.</param>
 /// <param name="deliveryTag">See <see cref="Delivery.DeliveryTag"/> for details.</param>
 public virtual void AmqpDeliveryNotFound(AmqpLink link, string deliveryTag)
 {
 }
Пример #3
0
 /// <summary>
 /// Called when a message is received and put into the local buffer queue because
 /// there is no receive request and message callback.
 /// </summary>
 /// <param name="link">The receiving link.</param>
 /// <param name="deliveryId">Delivery id of the message.</param>
 /// <param name="count">Number of messages in the buffer queue.</param>
 /// <param name="isPrefecthingBySize">true if the buffer queue is limited by size.</param>
 /// <param name="totalCacheSizeInBytes">The buffer queue limit.</param>
 /// <param name="totalLinkCredit">The total credit set on the link.</param>
 /// <param name="linkCredit">The current link credit of the link.</param>
 public virtual void AmqpCacheMessage(AmqpLink link, uint deliveryId, int count, bool isPrefecthingBySize, long totalCacheSizeInBytes, uint totalLinkCredit, uint linkCredit)
 {
 }
Пример #4
0
 /// <summary>
 /// Called when a message is received.
 /// </summary>
 /// <param name="link">The receiving link.</param>
 /// <param name="deliveryId">The delivery id of the message.</param>
 /// <param name="transferCount">Number of transfers of the message.</param>
 public virtual void AmqpReceiveMessage(AmqpLink link, uint deliveryId, int transferCount)
 {
 }
Пример #5
0
 /// <summary>
 /// Called when a link is being detached.
 /// </summary>
 /// <param name="link">The link.</param>
 /// <param name="name">Name of the link.</param>
 /// <param name="handle">Local handle of the link.</param>
 /// <param name="action">The action causing the deatch.</param>
 /// <param name="error">Error message associated with the detach.</param>
 public virtual void AmqpLinkDetach(AmqpLink link, string name, uint handle, string action, string error)
 {
 }
Пример #6
0
 /// <summary>
 /// Called when the state of a delivery is being updated.
 /// </summary>
 /// <param name="link">The link over which the delivery is sent or received.</param>
 /// <param name="deliveryId">See <see cref="Delivery.DeliveryId"/>.</param>
 /// <param name="settled">true if the delivery is settled, or false otherwise.</param>
 /// <param name="state">The delivery state.</param>
 public virtual void AmqpDispose(AmqpLink link, uint deliveryId, bool settled, object state)
 {
 }
Пример #7
0
 IAsyncResult ILinkFactory.BeginOpenLink(AmqpLink link, TimeSpan timeout, AsyncCallback callback, object state)
 {
     return(new CompletedAsyncResult(callback, state));
 }