public interface IMethod

Known direct subtypes: IBasicAck, IBasicCancel, IBasicCancelOk, IBasicConsume, IBasicConsumeOk, IBasicDeliver, IBasicGet, IBasicGetEmpty, IBasicGetOk, IBasicNack, IBasicPublish, IBasicQos, IBasicQosOk, IBasicRecover, IBasicRecoverAsync, IBasicRecoverOk, IBasicReject, IBasicReturn, IChannelClose, IChannelCloseOk, IChannelFlow, IChannelFlowOk, IChannelOpen, IChannelOpenOk, IConfirmSelect, IConfirmSelectOk, IConnectionBlocked, IConnectionClose, IConnectionCloseOk, IConnectionOpen, IConnectionOpenOk, IConnectionSecure, IConnectionSecureOk, IConnectionStart, IConnectionStartOk, IConnectionTune, IConnectionTuneOk, IConnectionUnblocked, IExchangeBind, IExchangeBindOk, IExchangeDeclare, IExchangeDeclareOk, IExchangeDelete, IExchangeDeleteOk, IExchangeUnbind, IExchangeUnbindOk, IQueueBind, IQueueBindOk, IQueueDeclare, IQueueDeclareOk, IQueueDelete, IQueueDeleteOk, IQueuePurge, IQueuePurgeOk, IQueueUnbind, IQueueUnbindOk, ITxCommit, ITxCommitOk, ITxRollback, ITxRollbackOk, ITxSelect, ITxSelectOk, MethodBase

Summary

A decoded AMQP method frame.

Remarks

AMQP methods can be RPC requests, RPC responses, exceptions (ChannelClose, ConnectionClose), or one-way asynchronous messages. Currently this information is not recorded in their type or interface: it is implicit in the way the method is used, and the way it is defined in the AMQP specification. A future revision of the RabbitMQ .NET client library may extend the IMethod interface to represent this information explicitly.

Property Summary

Type Name Summary
int ProtocolClassId (r)

Retrieves the class ID number of this method, as defined in the AMQP specification XML.

int ProtocolMethodId (r)

Retrieves the method ID number of this method, as defined in the AMQP specification XML.

string ProtocolMethodName (r)

Retrieves the name of this method - for debugging use.

Property Detail

int ProtocolClassId (r)

Summary

Retrieves the class ID number of this method, as defined in the AMQP specification XML.

int ProtocolMethodId (r)

Summary

Retrieves the method ID number of this method, as defined in the AMQP specification XML.

string ProtocolMethodName (r)

Summary

Retrieves the name of this method - for debugging use.