C# 클래스 Contour.Transport.RabbitMQ.Internal.RabbitChannel

The rabbit channel.
상속: IChannel
파일 보기 프로젝트 열기: SDVentures/Contour 1 사용 예제들

공개 메소드들

메소드 설명
Accept ( RabbitDelivery delivery ) : void

The accept.

Bind ( Queue queue, Contour.Transport.RabbitMQ.Topology.Exchange exchange, string routingKey ) : void

The bind.

BuildCancellableConsumer ( CancellationToken cancellationToken ) : Contour.Transport.RabbitMQ.Internal.CancellableQueueingConsumer

The build cancellable consumer.

BuildQueueingConsumer ( ) : QueueingBasicConsumer

The build queueing consumer.

Declare ( Contour.Transport.RabbitMQ.Topology.Exchange exchange ) : void

The declare.

Declare ( Queue queue ) : void

The declare.

DeclareDefaultQueue ( ) : string

The declare default queue.

Dispose ( ) : void

The dispose.

EnablePublishConfirmation ( ) : void

Enable publish confirmation.

GetNextSeqNo ( ) : ulong

Get next seq no.

OnConfirmation ( ConfirmationHandler handleConfirmation ) : void

The on confirmation.

Publish ( IRoute route, IMessage message, Action propsVisitor = null ) : void

The publish.

RabbitChannel ( RabbitBus bus, IModel native ) : System

Инициализирует новый экземпляр класса RabbitChannel.

Reject ( RabbitDelivery delivery, bool requeue ) : void

The reject.

Reply ( IMessage message, RabbitRoute replyTo, string correlationId ) : void

The reply.

RequestPublish ( QoSParams qos ) : void

The request publish.

SetQos ( QoSParams qos ) : void

The set qos.

StartConsuming ( IListeningSource listeningSource, bool requireAccept, IBasicConsumer consumer ) : string

The start consuming.

StopConsuming ( string consumerTag ) : void

The stop consuming.

TryStopConsuming ( string consumerTag ) : bool

The try stop consuming.

UnpackAs ( Type type, RabbitDelivery delivery ) : IMessage

The unpack as.

비공개 메소드들

메소드 설명
SafeNativeInvoke ( Action invokeAction ) : void

The safe native invoke.

메소드 상세

Accept() 공개 메소드

The accept.
public Accept ( RabbitDelivery delivery ) : void
delivery RabbitDelivery /// The delivery. ///
리턴 void

Bind() 공개 메소드

The bind.
public Bind ( Queue queue, Contour.Transport.RabbitMQ.Topology.Exchange exchange, string routingKey ) : void
queue Contour.Transport.RabbitMQ.Topology.Queue /// The queue. ///
exchange Contour.Transport.RabbitMQ.Topology.Exchange /// The exchange. ///
routingKey string /// The routing key. ///
리턴 void

BuildCancellableConsumer() 공개 메소드

The build cancellable consumer.
public BuildCancellableConsumer ( CancellationToken cancellationToken ) : Contour.Transport.RabbitMQ.Internal.CancellableQueueingConsumer
cancellationToken System.Threading.CancellationToken /// The cancellation token. ///
리턴 Contour.Transport.RabbitMQ.Internal.CancellableQueueingConsumer

BuildQueueingConsumer() 공개 메소드

The build queueing consumer.
public BuildQueueingConsumer ( ) : QueueingBasicConsumer
리턴 QueueingBasicConsumer

Declare() 공개 메소드

The declare.
public Declare ( Contour.Transport.RabbitMQ.Topology.Exchange exchange ) : void
exchange Contour.Transport.RabbitMQ.Topology.Exchange /// The exchange. ///
리턴 void

Declare() 공개 메소드

The declare.
public Declare ( Queue queue ) : void
queue Contour.Transport.RabbitMQ.Topology.Queue /// The queue. ///
리턴 void

DeclareDefaultQueue() 공개 메소드

The declare default queue.
public DeclareDefaultQueue ( ) : string
리턴 string

Dispose() 공개 메소드

The dispose.
public Dispose ( ) : void
리턴 void

EnablePublishConfirmation() 공개 메소드

Enable publish confirmation.
public EnablePublishConfirmation ( ) : void
리턴 void

GetNextSeqNo() 공개 메소드

Get next seq no.
public GetNextSeqNo ( ) : ulong
리턴 ulong

OnConfirmation() 공개 메소드

The on confirmation.
public OnConfirmation ( ConfirmationHandler handleConfirmation ) : void
handleConfirmation ConfirmationHandler /// The handle confirmation. ///
리턴 void

Publish() 공개 메소드

The publish.
public Publish ( IRoute route, IMessage message, Action propsVisitor = null ) : void
route IRoute /// The route. ///
message IMessage /// The message. ///
propsVisitor Action /// The props visitor. ///
리턴 void

RabbitChannel() 공개 메소드

Инициализирует новый экземпляр класса RabbitChannel.
public RabbitChannel ( RabbitBus bus, IModel native ) : System
bus RabbitBus /// The bus. ///
native IModel /// The native. ///
리턴 System

Reject() 공개 메소드

The reject.
public Reject ( RabbitDelivery delivery, bool requeue ) : void
delivery RabbitDelivery /// The delivery. ///
requeue bool /// The requeue. ///
리턴 void

Reply() 공개 메소드

The reply.
public Reply ( IMessage message, RabbitRoute replyTo, string correlationId ) : void
message IMessage /// The message. ///
replyTo RabbitRoute /// The reply to. ///
correlationId string /// The correlation id. ///
리턴 void

RequestPublish() 공개 메소드

The request publish.
public RequestPublish ( QoSParams qos ) : void
qos QoSParams /// The qos. ///
리턴 void

SetQos() 공개 메소드

The set qos.
public SetQos ( QoSParams qos ) : void
qos QoSParams /// The qos. ///
리턴 void

StartConsuming() 공개 메소드

The start consuming.
public StartConsuming ( IListeningSource listeningSource, bool requireAccept, IBasicConsumer consumer ) : string
listeningSource IListeningSource /// The listening source. ///
requireAccept bool /// The require accept. ///
consumer IBasicConsumer /// The consumer. ///
리턴 string

StopConsuming() 공개 메소드

The stop consuming.
public StopConsuming ( string consumerTag ) : void
consumerTag string /// The consumer tag. ///
리턴 void

TryStopConsuming() 공개 메소드

The try stop consuming.
public TryStopConsuming ( string consumerTag ) : bool
consumerTag string /// The consumer tag. ///
리턴 bool

UnpackAs() 공개 메소드

The unpack as.
public UnpackAs ( Type type, RabbitDelivery delivery ) : IMessage
type System.Type /// The type. ///
delivery RabbitDelivery /// The delivery. ///
리턴 IMessage