C# Class RabbitMQ.Client.Impl.ModelBase

Inheritance: IFullModel, IRecoverable
Afficher le fichier Open project: rabbitmq/rabbitmq-dotnet-client Class Usage Examples

Méthodes publiques

Свойство Type Description
m_connectionStartCell RabbitMQ.Util.BlockingCell
m_consumers IBasicConsumer>.IDictionary
m_continuationQueue RabbitMQ.Client.Impl.RpcContinuationQueue
m_flowControlBlock System.Threading.ManualResetEvent

Méthodes publiques

Méthode Description
Abort ( ) : void
Abort ( ushort replyCode, string replyText ) : void
BasicAck ( ulong deliveryTag, bool multiple ) : void
BasicCancel ( string consumerTag ) : void
BasicConsume ( string queue, bool autoAck, string consumerTag, bool noLocal, bool exclusive, object>.IDictionary arguments, IBasicConsumer consumer ) : string
BasicGet ( string queue, bool autoAck ) : BasicGetResult
BasicNack ( ulong deliveryTag, bool multiple, bool requeue ) : void
BasicPublish ( string exchange, string routingKey, bool mandatory, IBasicProperties basicProperties, byte body ) : void
BasicQos ( uint prefetchSize, ushort prefetchCount, bool global ) : void
BasicRecover ( bool requeue ) : void
BasicRecoverAsync ( bool requeue ) : void
BasicReject ( ulong deliveryTag, bool requeue ) : void
Close ( ) : void
Close ( ShutdownEventArgs reason, bool abort ) : void
Close ( ushort replyCode, string replyText ) : void
Close ( ushort replyCode, string replyText, bool abort ) : void
ConfirmSelect ( ) : void
ConnectionOpen ( string virtualHost, string capabilities, bool insist ) : string
ConnectionSecureOk ( byte response ) : ConnectionSecureOrTune
ConnectionStartOk ( object>.IDictionary clientProperties, string mechanism, byte response, string locale ) : ConnectionSecureOrTune
ConnectionTuneOk ( ushort channelMax, uint frameMax, ushort heartbeat ) : void
ConsumerCount ( string queue ) : uint
CreateBasicProperties ( ) : IBasicProperties
DispatchAsynchronous ( Command cmd ) : bool
Enqueue ( IRpcContinuation k ) : void
ExchangeBind ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
ExchangeBindNoWait ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
ExchangeDeclare ( string exchange, string type, bool durable, bool autoDelete, object>.IDictionary arguments ) : void
ExchangeDeclareNoWait ( string exchange, string type, bool durable, bool autoDelete, object>.IDictionary arguments ) : void
ExchangeDeclarePassive ( string exchange ) : void
ExchangeDelete ( string exchange, bool ifUnused ) : void
ExchangeDeleteNoWait ( string exchange, bool ifUnused ) : void
ExchangeUnbind ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
ExchangeUnbindNoWait ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
FinishClose ( ) : void
HandleBasicAck ( ulong deliveryTag, bool multiple ) : void
HandleBasicCancel ( string consumerTag, bool nowait ) : void
HandleBasicCancelOk ( string consumerTag ) : void
HandleBasicConsumeOk ( string consumerTag ) : void
HandleBasicDeliver ( string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties basicProperties, byte body ) : void
HandleBasicGetEmpty ( ) : void
HandleBasicGetOk ( ulong deliveryTag, bool redelivered, string exchange, string routingKey, uint messageCount, IBasicProperties basicProperties, byte body ) : void
HandleBasicNack ( ulong deliveryTag, bool multiple, bool requeue ) : void
HandleBasicRecoverOk ( ) : void
HandleBasicReturn ( ushort replyCode, string replyText, string exchange, string routingKey, IBasicProperties basicProperties, byte body ) : void
HandleChannelClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
HandleChannelCloseOk ( ) : void
HandleChannelFlow ( bool active ) : void
HandleCommand ( ISession session, Command cmd ) : void
HandleConnectionBlocked ( string reason ) : void
HandleConnectionClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
HandleConnectionOpenOk ( string knownHosts ) : void
HandleConnectionSecure ( byte challenge ) : void
HandleConnectionStart ( byte versionMajor, byte versionMinor, object>.IDictionary serverProperties, byte mechanisms, byte locales ) : void
HandleConnectionTune ( ushort channelMax, uint frameMax, ushort heartbeat ) : void

Handle incoming Connection.Tune methods.

HandleConnectionUnblocked ( ) : void
HandleQueueDeclareOk ( string queue, uint messageCount, uint consumerCount ) : void
MessageCount ( string queue ) : uint
ModelBase ( ISession session )
ModelBase ( ISession session, ConsumerWorkService workService )
ModelRpc ( RabbitMQ.Client.Impl.MethodBase method, RabbitMQ.Client.Impl.ContentHeaderBase header, byte body ) : RabbitMQ.Client.Impl.MethodBase
ModelSend ( RabbitMQ.Client.Impl.MethodBase method, RabbitMQ.Client.Impl.ContentHeaderBase header, byte body ) : void
OnBasicAck ( RabbitMQ.Client.Events.BasicAckEventArgs args ) : void
OnBasicNack ( RabbitMQ.Client.Events.BasicNackEventArgs args ) : void
OnBasicRecoverOk ( EventArgs args ) : void
OnBasicReturn ( RabbitMQ.Client.Events.BasicReturnEventArgs args ) : void
OnCallbackException ( RabbitMQ.Client.Events.CallbackExceptionEventArgs args ) : void
OnFlowControl ( RabbitMQ.Client.Events.FlowControlEventArgs args ) : void
OnModelShutdown ( ShutdownEventArgs reason ) : void

Broadcasts notification of the final shutdown of the model.

Do not call anywhere other than at the end of OnSessionShutdown.

Must not be called when m_closeReason == null, because otherwise there's a window when a new continuation could be being enqueued at the same time as we're broadcasting the shutdown event. See the definition of Enqueue() above.

OnSessionShutdown ( object sender, ShutdownEventArgs reason ) : void
QueueBind ( string queue, string exchange, string routingKey, object>.IDictionary arguments ) : void
QueueBindNoWait ( string queue, string exchange, string routingKey, object>.IDictionary arguments ) : void
QueueDeclare ( string queue, bool durable, bool exclusive, bool autoDelete, object>.IDictionary arguments ) : QueueDeclareOk
QueueDeclareNoWait ( string queue, bool durable, bool exclusive, bool autoDelete, object>.IDictionary arguments ) : void
QueueDeclarePassive ( string queue ) : QueueDeclareOk
QueueDelete ( string queue, bool ifUnused, bool ifEmpty ) : uint
QueueDeleteNoWait ( string queue, bool ifUnused, bool ifEmpty ) : void
QueuePurge ( string queue ) : uint
QueueUnbind ( string queue, string exchange, string routingKey, object>.IDictionary arguments ) : void
SetCloseReason ( ShutdownEventArgs reason ) : bool
ToString ( ) : string
TransmitAndEnqueue ( Command cmd, IRpcContinuation k ) : void
TxCommit ( ) : void
TxRollback ( ) : void
TxSelect ( ) : void
WaitForConfirms ( ) : bool
WaitForConfirms ( System.TimeSpan timeout ) : bool
WaitForConfirms ( System.TimeSpan timeout, bool &timedOut ) : bool
WaitForConfirmsOrDie ( ) : void
WaitForConfirmsOrDie ( System.TimeSpan timeout ) : void
_Private_BasicCancel ( string consumerTag, bool nowait ) : void
_Private_BasicConsume ( string queue, string consumerTag, bool noLocal, bool autoAck, bool exclusive, bool nowait, object>.IDictionary arguments ) : void
_Private_BasicGet ( string queue, bool autoAck ) : void
_Private_BasicPublish ( string exchange, string routingKey, bool mandatory, IBasicProperties basicProperties, byte body ) : void
_Private_BasicRecover ( bool requeue ) : void
_Private_ChannelClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
_Private_ChannelCloseOk ( ) : void
_Private_ChannelFlowOk ( bool active ) : void
_Private_ChannelOpen ( string outOfBand ) : void
_Private_ConfirmSelect ( bool nowait ) : void
_Private_ConnectionClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
_Private_ConnectionCloseOk ( ) : void
_Private_ConnectionOpen ( string virtualHost, string capabilities, bool insist ) : void
_Private_ConnectionSecureOk ( byte response ) : void
_Private_ConnectionStartOk ( object>.IDictionary clientProperties, string mechanism, byte response, string locale ) : void
_Private_ExchangeBind ( string destination, string source, string routingKey, bool nowait, object>.IDictionary arguments ) : void
_Private_ExchangeDeclare ( string exchange, string type, bool passive, bool durable, bool autoDelete, bool @internal, bool nowait, object>.IDictionary arguments ) : void
_Private_ExchangeDelete ( string exchange, bool ifUnused, bool nowait ) : void
_Private_ExchangeUnbind ( string destination, string source, string routingKey, bool nowait, object>.IDictionary arguments ) : void
_Private_QueueBind ( string queue, string exchange, string routingKey, bool nowait, object>.IDictionary arguments ) : void
_Private_QueueDeclare ( string queue, bool passive, bool durable, bool exclusive, bool autoDelete, bool nowait, object>.IDictionary arguments ) : void
_Private_QueueDelete ( string queue, bool ifUnused, bool ifEmpty, bool nowait ) : uint
_Private_QueuePurge ( string queue, bool nowait ) : uint

Méthodes protégées

Méthode Description
BroadcastShutdownToConsumers ( IBasicConsumer>.IDictionary cs, ShutdownEventArgs reason ) : void
Initialise ( ISession session ) : void
handleAckNack ( ulong deliveryTag, bool multiple, bool isNack ) : void

Private Methods

Méthode Description
IDisposable ( ) : void
QueueDeclare ( string queue, bool passive, bool durable, bool exclusive, bool autoDelete, object>.IDictionary arguments ) : QueueDeclareOk

Method Details

Abort() public méthode

public Abort ( ) : void
Résultat void

Abort() public méthode

public Abort ( ushort replyCode, string replyText ) : void
replyCode ushort
replyText string
Résultat void

BasicAck() public abstract méthode

public abstract BasicAck ( ulong deliveryTag, bool multiple ) : void
deliveryTag ulong
multiple bool
Résultat void

BasicCancel() public méthode

public BasicCancel ( string consumerTag ) : void
consumerTag string
Résultat void

BasicConsume() public méthode

public BasicConsume ( string queue, bool autoAck, string consumerTag, bool noLocal, bool exclusive, object>.IDictionary arguments, IBasicConsumer consumer ) : string
queue string
autoAck bool
consumerTag string
noLocal bool
exclusive bool
arguments object>.IDictionary
consumer IBasicConsumer
Résultat string

BasicGet() public méthode

public BasicGet ( string queue, bool autoAck ) : BasicGetResult
queue string
autoAck bool
Résultat BasicGetResult

BasicNack() public abstract méthode

public abstract BasicNack ( ulong deliveryTag, bool multiple, bool requeue ) : void
deliveryTag ulong
multiple bool
requeue bool
Résultat void

BasicPublish() public méthode

public BasicPublish ( string exchange, string routingKey, bool mandatory, IBasicProperties basicProperties, byte body ) : void
exchange string
routingKey string
mandatory bool
basicProperties IBasicProperties
body byte
Résultat void

BasicQos() public abstract méthode

public abstract BasicQos ( uint prefetchSize, ushort prefetchCount, bool global ) : void
prefetchSize uint
prefetchCount ushort
global bool
Résultat void

BasicRecover() public méthode

public BasicRecover ( bool requeue ) : void
requeue bool
Résultat void

BasicRecoverAsync() public abstract méthode

public abstract BasicRecoverAsync ( bool requeue ) : void
requeue bool
Résultat void

BasicReject() public abstract méthode

public abstract BasicReject ( ulong deliveryTag, bool requeue ) : void
deliveryTag ulong
requeue bool
Résultat void

BroadcastShutdownToConsumers() protected méthode

protected BroadcastShutdownToConsumers ( IBasicConsumer>.IDictionary cs, ShutdownEventArgs reason ) : void
cs IBasicConsumer>.IDictionary
reason ShutdownEventArgs
Résultat void

Close() public méthode

public Close ( ) : void
Résultat void

Close() public méthode

public Close ( ShutdownEventArgs reason, bool abort ) : void
reason ShutdownEventArgs
abort bool
Résultat void

Close() public méthode

public Close ( ushort replyCode, string replyText ) : void
replyCode ushort
replyText string
Résultat void

Close() public méthode

public Close ( ushort replyCode, string replyText, bool abort ) : void
replyCode ushort
replyText string
abort bool
Résultat void

ConfirmSelect() public méthode

public ConfirmSelect ( ) : void
Résultat void

ConnectionOpen() public méthode

public ConnectionOpen ( string virtualHost, string capabilities, bool insist ) : string
virtualHost string
capabilities string
insist bool
Résultat string

ConnectionSecureOk() public méthode

public ConnectionSecureOk ( byte response ) : ConnectionSecureOrTune
response byte
Résultat ConnectionSecureOrTune

ConnectionStartOk() public méthode

public ConnectionStartOk ( object>.IDictionary clientProperties, string mechanism, byte response, string locale ) : ConnectionSecureOrTune
clientProperties object>.IDictionary
mechanism string
response byte
locale string
Résultat ConnectionSecureOrTune

ConnectionTuneOk() public abstract méthode

public abstract ConnectionTuneOk ( ushort channelMax, uint frameMax, ushort heartbeat ) : void
channelMax ushort
frameMax uint
heartbeat ushort
Résultat void

ConsumerCount() public méthode

public ConsumerCount ( string queue ) : uint
queue string
Résultat uint

CreateBasicProperties() public abstract méthode

public abstract CreateBasicProperties ( ) : IBasicProperties
Résultat IBasicProperties

DispatchAsynchronous() public abstract méthode

public abstract DispatchAsynchronous ( Command cmd ) : bool
cmd Command
Résultat bool

Enqueue() public méthode

public Enqueue ( IRpcContinuation k ) : void
k IRpcContinuation
Résultat void

ExchangeBind() public méthode

public ExchangeBind ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
destination string
source string
routingKey string
arguments object>.IDictionary
Résultat void

ExchangeBindNoWait() public méthode

public ExchangeBindNoWait ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
destination string
source string
routingKey string
arguments object>.IDictionary
Résultat void

ExchangeDeclare() public méthode

public ExchangeDeclare ( string exchange, string type, bool durable, bool autoDelete, object>.IDictionary arguments ) : void
exchange string
type string
durable bool
autoDelete bool
arguments object>.IDictionary
Résultat void

ExchangeDeclareNoWait() public méthode

public ExchangeDeclareNoWait ( string exchange, string type, bool durable, bool autoDelete, object>.IDictionary arguments ) : void
exchange string
type string
durable bool
autoDelete bool
arguments object>.IDictionary
Résultat void

ExchangeDeclarePassive() public méthode

public ExchangeDeclarePassive ( string exchange ) : void
exchange string
Résultat void

ExchangeDelete() public méthode

public ExchangeDelete ( string exchange, bool ifUnused ) : void
exchange string
ifUnused bool
Résultat void

ExchangeDeleteNoWait() public méthode

public ExchangeDeleteNoWait ( string exchange, bool ifUnused ) : void
exchange string
ifUnused bool
Résultat void

ExchangeUnbind() public méthode

public ExchangeUnbind ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
destination string
source string
routingKey string
arguments object>.IDictionary
Résultat void

ExchangeUnbindNoWait() public méthode

public ExchangeUnbindNoWait ( string destination, string source, string routingKey, object>.IDictionary arguments ) : void
destination string
source string
routingKey string
arguments object>.IDictionary
Résultat void

FinishClose() public méthode

public FinishClose ( ) : void
Résultat void

HandleBasicAck() public méthode

public HandleBasicAck ( ulong deliveryTag, bool multiple ) : void
deliveryTag ulong
multiple bool
Résultat void

HandleBasicCancel() public méthode

public HandleBasicCancel ( string consumerTag, bool nowait ) : void
consumerTag string
nowait bool
Résultat void

HandleBasicCancelOk() public méthode

public HandleBasicCancelOk ( string consumerTag ) : void
consumerTag string
Résultat void

HandleBasicConsumeOk() public méthode

public HandleBasicConsumeOk ( string consumerTag ) : void
consumerTag string
Résultat void

HandleBasicDeliver() public méthode

public HandleBasicDeliver ( string consumerTag, ulong deliveryTag, bool redelivered, string exchange, string routingKey, IBasicProperties basicProperties, byte body ) : void
consumerTag string
deliveryTag ulong
redelivered bool
exchange string
routingKey string
basicProperties IBasicProperties
body byte
Résultat void

HandleBasicGetEmpty() public méthode

public HandleBasicGetEmpty ( ) : void
Résultat void

HandleBasicGetOk() public méthode

public HandleBasicGetOk ( ulong deliveryTag, bool redelivered, string exchange, string routingKey, uint messageCount, IBasicProperties basicProperties, byte body ) : void
deliveryTag ulong
redelivered bool
exchange string
routingKey string
messageCount uint
basicProperties IBasicProperties
body byte
Résultat void

HandleBasicNack() public méthode

public HandleBasicNack ( ulong deliveryTag, bool multiple, bool requeue ) : void
deliveryTag ulong
multiple bool
requeue bool
Résultat void

HandleBasicRecoverOk() public méthode

public HandleBasicRecoverOk ( ) : void
Résultat void

HandleBasicReturn() public méthode

public HandleBasicReturn ( ushort replyCode, string replyText, string exchange, string routingKey, IBasicProperties basicProperties, byte body ) : void
replyCode ushort
replyText string
exchange string
routingKey string
basicProperties IBasicProperties
body byte
Résultat void

HandleChannelClose() public méthode

public HandleChannelClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
replyCode ushort
replyText string
classId ushort
methodId ushort
Résultat void

HandleChannelCloseOk() public méthode

public HandleChannelCloseOk ( ) : void
Résultat void

HandleChannelFlow() public méthode

public HandleChannelFlow ( bool active ) : void
active bool
Résultat void

HandleCommand() public méthode

public HandleCommand ( ISession session, Command cmd ) : void
session ISession
cmd Command
Résultat void

HandleConnectionBlocked() public méthode

public HandleConnectionBlocked ( string reason ) : void
reason string
Résultat void

HandleConnectionClose() public méthode

public HandleConnectionClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
replyCode ushort
replyText string
classId ushort
methodId ushort
Résultat void

HandleConnectionOpenOk() public méthode

public HandleConnectionOpenOk ( string knownHosts ) : void
knownHosts string
Résultat void

HandleConnectionSecure() public méthode

public HandleConnectionSecure ( byte challenge ) : void
challenge byte
Résultat void

HandleConnectionStart() public méthode

public HandleConnectionStart ( byte versionMajor, byte versionMinor, object>.IDictionary serverProperties, byte mechanisms, byte locales ) : void
versionMajor byte
versionMinor byte
serverProperties object>.IDictionary
mechanisms byte
locales byte
Résultat void

HandleConnectionTune() public méthode

Handle incoming Connection.Tune methods.
public HandleConnectionTune ( ushort channelMax, uint frameMax, ushort heartbeat ) : void
channelMax ushort
frameMax uint
heartbeat ushort
Résultat void

HandleConnectionUnblocked() public méthode

public HandleConnectionUnblocked ( ) : void
Résultat void

HandleQueueDeclareOk() public méthode

public HandleQueueDeclareOk ( string queue, uint messageCount, uint consumerCount ) : void
queue string
messageCount uint
consumerCount uint
Résultat void

Initialise() protected méthode

protected Initialise ( ISession session ) : void
session ISession
Résultat void

MessageCount() public méthode

public MessageCount ( string queue ) : uint
queue string
Résultat uint

ModelBase() public méthode

public ModelBase ( ISession session )
session ISession

ModelBase() public méthode

public ModelBase ( ISession session, ConsumerWorkService workService )
session ISession
workService ConsumerWorkService

ModelRpc() public méthode

public ModelRpc ( RabbitMQ.Client.Impl.MethodBase method, RabbitMQ.Client.Impl.ContentHeaderBase header, byte body ) : RabbitMQ.Client.Impl.MethodBase
method RabbitMQ.Client.Impl.MethodBase
header RabbitMQ.Client.Impl.ContentHeaderBase
body byte
Résultat RabbitMQ.Client.Impl.MethodBase

ModelSend() public méthode

public ModelSend ( RabbitMQ.Client.Impl.MethodBase method, RabbitMQ.Client.Impl.ContentHeaderBase header, byte body ) : void
method RabbitMQ.Client.Impl.MethodBase
header RabbitMQ.Client.Impl.ContentHeaderBase
body byte
Résultat void

OnBasicAck() public méthode

public OnBasicAck ( RabbitMQ.Client.Events.BasicAckEventArgs args ) : void
args RabbitMQ.Client.Events.BasicAckEventArgs
Résultat void

OnBasicNack() public méthode

public OnBasicNack ( RabbitMQ.Client.Events.BasicNackEventArgs args ) : void
args RabbitMQ.Client.Events.BasicNackEventArgs
Résultat void

OnBasicRecoverOk() public méthode

public OnBasicRecoverOk ( EventArgs args ) : void
args System.EventArgs
Résultat void

OnBasicReturn() public méthode

public OnBasicReturn ( RabbitMQ.Client.Events.BasicReturnEventArgs args ) : void
args RabbitMQ.Client.Events.BasicReturnEventArgs
Résultat void

OnCallbackException() public méthode

public OnCallbackException ( RabbitMQ.Client.Events.CallbackExceptionEventArgs args ) : void
args RabbitMQ.Client.Events.CallbackExceptionEventArgs
Résultat void

OnFlowControl() public méthode

public OnFlowControl ( RabbitMQ.Client.Events.FlowControlEventArgs args ) : void
args RabbitMQ.Client.Events.FlowControlEventArgs
Résultat void

OnModelShutdown() public méthode

Broadcasts notification of the final shutdown of the model.

Do not call anywhere other than at the end of OnSessionShutdown.

Must not be called when m_closeReason == null, because otherwise there's a window when a new continuation could be being enqueued at the same time as we're broadcasting the shutdown event. See the definition of Enqueue() above.

public OnModelShutdown ( ShutdownEventArgs reason ) : void
reason ShutdownEventArgs
Résultat void

OnSessionShutdown() public méthode

public OnSessionShutdown ( object sender, ShutdownEventArgs reason ) : void
sender object
reason ShutdownEventArgs
Résultat void

QueueBind() public méthode

public QueueBind ( string queue, string exchange, string routingKey, object>.IDictionary arguments ) : void
queue string
exchange string
routingKey string
arguments object>.IDictionary
Résultat void

QueueBindNoWait() public méthode

public QueueBindNoWait ( string queue, string exchange, string routingKey, object>.IDictionary arguments ) : void
queue string
exchange string
routingKey string
arguments object>.IDictionary
Résultat void

QueueDeclare() public méthode

public QueueDeclare ( string queue, bool durable, bool exclusive, bool autoDelete, object>.IDictionary arguments ) : QueueDeclareOk
queue string
durable bool
exclusive bool
autoDelete bool
arguments object>.IDictionary
Résultat QueueDeclareOk

QueueDeclareNoWait() public méthode

public QueueDeclareNoWait ( string queue, bool durable, bool exclusive, bool autoDelete, object>.IDictionary arguments ) : void
queue string
durable bool
exclusive bool
autoDelete bool
arguments object>.IDictionary
Résultat void

QueueDeclarePassive() public méthode

public QueueDeclarePassive ( string queue ) : QueueDeclareOk
queue string
Résultat QueueDeclareOk

QueueDelete() public méthode

public QueueDelete ( string queue, bool ifUnused, bool ifEmpty ) : uint
queue string
ifUnused bool
ifEmpty bool
Résultat uint

QueueDeleteNoWait() public méthode

public QueueDeleteNoWait ( string queue, bool ifUnused, bool ifEmpty ) : void
queue string
ifUnused bool
ifEmpty bool
Résultat void

QueuePurge() public méthode

public QueuePurge ( string queue ) : uint
queue string
Résultat uint

QueueUnbind() public abstract méthode

public abstract QueueUnbind ( string queue, string exchange, string routingKey, object>.IDictionary arguments ) : void
queue string
exchange string
routingKey string
arguments object>.IDictionary
Résultat void

SetCloseReason() public méthode

public SetCloseReason ( ShutdownEventArgs reason ) : bool
reason ShutdownEventArgs
Résultat bool

ToString() public méthode

public ToString ( ) : string
Résultat string

TransmitAndEnqueue() public méthode

public TransmitAndEnqueue ( Command cmd, IRpcContinuation k ) : void
cmd Command
k IRpcContinuation
Résultat void

TxCommit() public abstract méthode

public abstract TxCommit ( ) : void
Résultat void

TxRollback() public abstract méthode

public abstract TxRollback ( ) : void
Résultat void

TxSelect() public abstract méthode

public abstract TxSelect ( ) : void
Résultat void

WaitForConfirms() public méthode

public WaitForConfirms ( ) : bool
Résultat bool

WaitForConfirms() public méthode

public WaitForConfirms ( System.TimeSpan timeout ) : bool
timeout System.TimeSpan
Résultat bool

WaitForConfirms() public méthode

public WaitForConfirms ( System.TimeSpan timeout, bool &timedOut ) : bool
timeout System.TimeSpan
timedOut bool
Résultat bool

WaitForConfirmsOrDie() public méthode

public WaitForConfirmsOrDie ( ) : void
Résultat void

WaitForConfirmsOrDie() public méthode

public WaitForConfirmsOrDie ( System.TimeSpan timeout ) : void
timeout System.TimeSpan
Résultat void

_Private_BasicCancel() public abstract méthode

public abstract _Private_BasicCancel ( string consumerTag, bool nowait ) : void
consumerTag string
nowait bool
Résultat void

_Private_BasicConsume() public abstract méthode

public abstract _Private_BasicConsume ( string queue, string consumerTag, bool noLocal, bool autoAck, bool exclusive, bool nowait, object>.IDictionary arguments ) : void
queue string
consumerTag string
noLocal bool
autoAck bool
exclusive bool
nowait bool
arguments object>.IDictionary
Résultat void

_Private_BasicGet() public abstract méthode

public abstract _Private_BasicGet ( string queue, bool autoAck ) : void
queue string
autoAck bool
Résultat void

_Private_BasicPublish() public abstract méthode

public abstract _Private_BasicPublish ( string exchange, string routingKey, bool mandatory, IBasicProperties basicProperties, byte body ) : void
exchange string
routingKey string
mandatory bool
basicProperties IBasicProperties
body byte
Résultat void

_Private_BasicRecover() public abstract méthode

public abstract _Private_BasicRecover ( bool requeue ) : void
requeue bool
Résultat void

_Private_ChannelClose() public abstract méthode

public abstract _Private_ChannelClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
replyCode ushort
replyText string
classId ushort
methodId ushort
Résultat void

_Private_ChannelCloseOk() public abstract méthode

public abstract _Private_ChannelCloseOk ( ) : void
Résultat void

_Private_ChannelFlowOk() public abstract méthode

public abstract _Private_ChannelFlowOk ( bool active ) : void
active bool
Résultat void

_Private_ChannelOpen() public abstract méthode

public abstract _Private_ChannelOpen ( string outOfBand ) : void
outOfBand string
Résultat void

_Private_ConfirmSelect() public abstract méthode

public abstract _Private_ConfirmSelect ( bool nowait ) : void
nowait bool
Résultat void

_Private_ConnectionClose() public abstract méthode

public abstract _Private_ConnectionClose ( ushort replyCode, string replyText, ushort classId, ushort methodId ) : void
replyCode ushort
replyText string
classId ushort
methodId ushort
Résultat void

_Private_ConnectionCloseOk() public abstract méthode

public abstract _Private_ConnectionCloseOk ( ) : void
Résultat void

_Private_ConnectionOpen() public abstract méthode

public abstract _Private_ConnectionOpen ( string virtualHost, string capabilities, bool insist ) : void
virtualHost string
capabilities string
insist bool
Résultat void

_Private_ConnectionSecureOk() public abstract méthode

public abstract _Private_ConnectionSecureOk ( byte response ) : void
response byte
Résultat void

_Private_ConnectionStartOk() public abstract méthode

public abstract _Private_ConnectionStartOk ( object>.IDictionary clientProperties, string mechanism, byte response, string locale ) : void
clientProperties object>.IDictionary
mechanism string
response byte
locale string
Résultat void

_Private_ExchangeBind() public abstract méthode

public abstract _Private_ExchangeBind ( string destination, string source, string routingKey, bool nowait, object>.IDictionary arguments ) : void
destination string
source string
routingKey string
nowait bool
arguments object>.IDictionary
Résultat void

_Private_ExchangeDeclare() public abstract méthode

public abstract _Private_ExchangeDeclare ( string exchange, string type, bool passive, bool durable, bool autoDelete, bool @internal, bool nowait, object>.IDictionary arguments ) : void
exchange string
type string
passive bool
durable bool
autoDelete bool
@internal bool
nowait bool
arguments object>.IDictionary
Résultat void

_Private_ExchangeDelete() public abstract méthode

public abstract _Private_ExchangeDelete ( string exchange, bool ifUnused, bool nowait ) : void
exchange string
ifUnused bool
nowait bool
Résultat void

_Private_ExchangeUnbind() public abstract méthode

public abstract _Private_ExchangeUnbind ( string destination, string source, string routingKey, bool nowait, object>.IDictionary arguments ) : void
destination string
source string
routingKey string
nowait bool
arguments object>.IDictionary
Résultat void

_Private_QueueBind() public abstract méthode

public abstract _Private_QueueBind ( string queue, string exchange, string routingKey, bool nowait, object>.IDictionary arguments ) : void
queue string
exchange string
routingKey string
nowait bool
arguments object>.IDictionary
Résultat void

_Private_QueueDeclare() public abstract méthode

public abstract _Private_QueueDeclare ( string queue, bool passive, bool durable, bool exclusive, bool autoDelete, bool nowait, object>.IDictionary arguments ) : void
queue string
passive bool
durable bool
exclusive bool
autoDelete bool
nowait bool
arguments object>.IDictionary
Résultat void

_Private_QueueDelete() public abstract méthode

public abstract _Private_QueueDelete ( string queue, bool ifUnused, bool ifEmpty, bool nowait ) : uint
queue string
ifUnused bool
ifEmpty bool
nowait bool
Résultat uint

_Private_QueuePurge() public abstract méthode

public abstract _Private_QueuePurge ( string queue, bool nowait ) : uint
queue string
nowait bool
Résultat uint

handleAckNack() protected méthode

protected handleAckNack ( ulong deliveryTag, bool multiple, bool isNack ) : void
deliveryTag ulong
multiple bool
isNack bool
Résultat void

Property Details

m_connectionStartCell public_oe property

Only used to kick-start a connection open sequence. See Connection.Open
public BlockingCell,RabbitMQ.Util m_connectionStartCell
Résultat RabbitMQ.Util.BlockingCell

m_consumers public_oe property

public IDictionary m_consumers
Résultat IBasicConsumer>.IDictionary

m_continuationQueue public_oe property

public RpcContinuationQueue,RabbitMQ.Client.Impl m_continuationQueue
Résultat RabbitMQ.Client.Impl.RpcContinuationQueue

m_flowControlBlock public_oe property

public ManualResetEvent,System.Threading m_flowControlBlock
Résultat System.Threading.ManualResetEvent