C# 클래스 RabbitMQ.Client.Unit.IntegrationFixture

파일 보기 프로젝트 열기: rabbitmq/rabbitmq-dotnet-client 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
RECOVERY_INTERVAL System.TimeSpan

보호된 프로퍼티들

프로퍼티 타입 설명
Conn IConnection
Model IModel
encoding System.Text.Encoding

공개 메소드들

메소드 설명
CertificatesDirectory ( ) : string
IsRunningOnMonoOrDotNetCore ( ) : bool

보호된 메소드들

메소드 설명
AssertConsumerCount ( IModel m, string q, int count ) : void
AssertConsumerCount ( string q, int count ) : void
AssertMessageCount ( string q, int count ) : void
AssertPreconditionFailed ( ShutdownEventArgs args ) : void
AssertShutdownError ( ShutdownEventArgs args, int code ) : void
Block ( ) : void
CloseAllConnections ( ) : void
CloseConnection ( IConnection conn ) : void
CloseConnection ( string pid ) : void
CreateAutorecoveringConnection ( ) : AutorecoveringConnection
CreateAutorecoveringConnection ( IList endpoints ) : AutorecoveringConnection
CreateAutorecoveringConnection ( IList hostnames ) : AutorecoveringConnection
CreateAutorecoveringConnection ( System.TimeSpan interval ) : AutorecoveringConnection
CreateAutorecoveringConnection ( System.TimeSpan interval, IList hostnames ) : AutorecoveringConnection
CreateAutorecoveringConnectionWithTopologyRecoveryDisabled ( ) : AutorecoveringConnection
CreateNonRecoveringConnection ( ) : IConnection
DeclareNonDurableExchange ( IModel m, string x ) : string
DeclareNonDurableExchangeNoWait ( IModel m, string x ) : string
EnsureNotEmpty ( string q ) : void
EnsureNotEmpty ( string q, string body ) : void
ExecCommand ( string command ) : Process
ExecCommand ( string command, string args ) : Process
ExecCommand ( string ctl, string args, string changeDirTo ) : Process
ExecRabbitMQCtl ( string args ) : Process
GenerateExchangeName ( ) : string
GenerateQueueName ( ) : string
InitiatedByPeerOrLibrary ( ShutdownEventArgs evt ) : bool
ListConnections ( ) : List
Publish ( IConnection conn ) : void
RandomMessageBody ( ) : byte[]
ReleaseResources ( ) : void
ReportExecFailure ( String cmd, String args, String msg ) : void
RestartRabbitMQ ( ) : void
StartRabbitMQ ( ) : void
StopRabbitMQ ( ) : void
Unblock ( ) : void
Wait ( ManualResetEvent latch ) : void
Wait ( ManualResetEvent latch, System.TimeSpan timeSpan ) : void
WaitForConfirms ( IModel m ) : bool
WaitOn ( object o ) : void
WithClosedModel ( Action action ) : void
WithEmptyQueue ( string>.Action action ) : void
WithNonEmptyQueue ( string>.Action action ) : void
WithNonEmptyQueue ( string>.Action action, string msg ) : void
WithTemporaryAutorecoveringConnection ( Action action ) : void
WithTemporaryModel ( Action action ) : void
WithTemporaryModel ( IConnection connection, Action action ) : void
WithTemporaryNonExclusiveQueue ( string>.Action action ) : void
WithTemporaryNonExclusiveQueue ( IModel model, string>.Action action ) : void
WithTemporaryNonExclusiveQueue ( IModel model, string>.Action action, string queue ) : void
WithTemporaryQueue ( string>.Action action ) : void
WithTemporaryQueue ( string>.Action action, string q ) : void
WithTemporaryQueue ( IModel model, string>.Action action ) : void
WithTemporaryQueue ( IModel model, string>.Action action, string queue ) : void
WithTemporaryQueueNoWait ( IModel model, string>.Action action, string queue ) : void

비공개 메소드들

메소드 설명
Dispose ( ) : void
Init ( ) : void

메소드 상세

AssertConsumerCount() 보호된 메소드

protected AssertConsumerCount ( IModel m, string q, int count ) : void
m IModel
q string
count int
리턴 void

AssertConsumerCount() 보호된 메소드

protected AssertConsumerCount ( string q, int count ) : void
q string
count int
리턴 void

AssertMessageCount() 보호된 메소드

protected AssertMessageCount ( string q, int count ) : void
q string
count int
리턴 void

AssertPreconditionFailed() 보호된 메소드

protected AssertPreconditionFailed ( ShutdownEventArgs args ) : void
args ShutdownEventArgs
리턴 void

AssertShutdownError() 보호된 메소드

protected AssertShutdownError ( ShutdownEventArgs args, int code ) : void
args ShutdownEventArgs
code int
리턴 void

Block() 보호된 메소드

protected Block ( ) : void
리턴 void

CertificatesDirectory() 공개 정적인 메소드

public static CertificatesDirectory ( ) : string
리턴 string

CloseAllConnections() 보호된 메소드

protected CloseAllConnections ( ) : void
리턴 void

CloseConnection() 보호된 메소드

protected CloseConnection ( IConnection conn ) : void
conn IConnection
리턴 void

CloseConnection() 보호된 메소드

protected CloseConnection ( string pid ) : void
pid string
리턴 void

CreateAutorecoveringConnection() 보호된 메소드

protected CreateAutorecoveringConnection ( ) : AutorecoveringConnection
리턴 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateAutorecoveringConnection() 보호된 메소드

protected CreateAutorecoveringConnection ( IList endpoints ) : AutorecoveringConnection
endpoints IList
리턴 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateAutorecoveringConnection() 보호된 메소드

protected CreateAutorecoveringConnection ( IList hostnames ) : AutorecoveringConnection
hostnames IList
리턴 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateAutorecoveringConnection() 보호된 메소드

protected CreateAutorecoveringConnection ( System.TimeSpan interval ) : AutorecoveringConnection
interval System.TimeSpan
리턴 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateAutorecoveringConnection() 보호된 메소드

protected CreateAutorecoveringConnection ( System.TimeSpan interval, IList hostnames ) : AutorecoveringConnection
interval System.TimeSpan
hostnames IList
리턴 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateAutorecoveringConnectionWithTopologyRecoveryDisabled() 보호된 메소드

protected CreateAutorecoveringConnectionWithTopologyRecoveryDisabled ( ) : AutorecoveringConnection
리턴 RabbitMQ.Client.Framing.Impl.AutorecoveringConnection

CreateNonRecoveringConnection() 보호된 메소드

protected CreateNonRecoveringConnection ( ) : IConnection
리턴 IConnection

DeclareNonDurableExchange() 보호된 메소드

protected DeclareNonDurableExchange ( IModel m, string x ) : string
m IModel
x string
리턴 string

DeclareNonDurableExchangeNoWait() 보호된 메소드

protected DeclareNonDurableExchangeNoWait ( IModel m, string x ) : string
m IModel
x string
리턴 string

EnsureNotEmpty() 보호된 메소드

protected EnsureNotEmpty ( string q ) : void
q string
리턴 void

EnsureNotEmpty() 보호된 메소드

protected EnsureNotEmpty ( string q, string body ) : void
q string
body string
리턴 void

ExecCommand() 보호된 메소드

protected ExecCommand ( string command ) : Process
command string
리턴 System.Diagnostics.Process

ExecCommand() 보호된 메소드

protected ExecCommand ( string command, string args ) : Process
command string
args string
리턴 System.Diagnostics.Process

ExecCommand() 보호된 메소드

protected ExecCommand ( string ctl, string args, string changeDirTo ) : Process
ctl string
args string
changeDirTo string
리턴 System.Diagnostics.Process

ExecRabbitMQCtl() 보호된 메소드

protected ExecRabbitMQCtl ( string args ) : Process
args string
리턴 System.Diagnostics.Process

GenerateExchangeName() 보호된 메소드

protected GenerateExchangeName ( ) : string
리턴 string

GenerateQueueName() 보호된 메소드

protected GenerateQueueName ( ) : string
리턴 string

InitiatedByPeerOrLibrary() 보호된 메소드

protected InitiatedByPeerOrLibrary ( ShutdownEventArgs evt ) : bool
evt ShutdownEventArgs
리턴 bool

IsRunningOnMonoOrDotNetCore() 공개 정적인 메소드

public static IsRunningOnMonoOrDotNetCore ( ) : bool
리턴 bool

ListConnections() 보호된 메소드

protected ListConnections ( ) : List
리턴 List

Publish() 보호된 메소드

protected Publish ( IConnection conn ) : void
conn IConnection
리턴 void

RandomMessageBody() 보호된 메소드

protected RandomMessageBody ( ) : byte[]
리턴 byte[]

ReleaseResources() 보호된 메소드

protected ReleaseResources ( ) : void
리턴 void

ReportExecFailure() 보호된 메소드

protected ReportExecFailure ( String cmd, String args, String msg ) : void
cmd String
args String
msg String
리턴 void

RestartRabbitMQ() 보호된 메소드

protected RestartRabbitMQ ( ) : void
리턴 void

StartRabbitMQ() 보호된 메소드

protected StartRabbitMQ ( ) : void
리턴 void

StopRabbitMQ() 보호된 메소드

protected StopRabbitMQ ( ) : void
리턴 void

Unblock() 보호된 메소드

protected Unblock ( ) : void
리턴 void

Wait() 보호된 메소드

protected Wait ( ManualResetEvent latch ) : void
latch System.Threading.ManualResetEvent
리턴 void

Wait() 보호된 메소드

protected Wait ( ManualResetEvent latch, System.TimeSpan timeSpan ) : void
latch System.Threading.ManualResetEvent
timeSpan System.TimeSpan
리턴 void

WaitForConfirms() 보호된 메소드

protected WaitForConfirms ( IModel m ) : bool
m IModel
리턴 bool

WaitOn() 보호된 메소드

protected WaitOn ( object o ) : void
o object
리턴 void

WithClosedModel() 보호된 메소드

protected WithClosedModel ( Action action ) : void
action Action
리턴 void

WithEmptyQueue() 보호된 메소드

protected WithEmptyQueue ( string>.Action action ) : void
action string>.Action
리턴 void

WithNonEmptyQueue() 보호된 메소드

protected WithNonEmptyQueue ( string>.Action action ) : void
action string>.Action
리턴 void

WithNonEmptyQueue() 보호된 메소드

protected WithNonEmptyQueue ( string>.Action action, string msg ) : void
action string>.Action
msg string
리턴 void

WithTemporaryAutorecoveringConnection() 보호된 메소드

protected WithTemporaryAutorecoveringConnection ( Action action ) : void
action Action
리턴 void

WithTemporaryModel() 보호된 메소드

protected WithTemporaryModel ( Action action ) : void
action Action
리턴 void

WithTemporaryModel() 보호된 메소드

protected WithTemporaryModel ( IConnection connection, Action action ) : void
connection IConnection
action Action
리턴 void

WithTemporaryNonExclusiveQueue() 보호된 메소드

protected WithTemporaryNonExclusiveQueue ( string>.Action action ) : void
action string>.Action
리턴 void

WithTemporaryNonExclusiveQueue() 보호된 메소드

protected WithTemporaryNonExclusiveQueue ( IModel model, string>.Action action ) : void
model IModel
action string>.Action
리턴 void

WithTemporaryNonExclusiveQueue() 보호된 메소드

protected WithTemporaryNonExclusiveQueue ( IModel model, string>.Action action, string queue ) : void
model IModel
action string>.Action
queue string
리턴 void

WithTemporaryQueue() 보호된 메소드

protected WithTemporaryQueue ( string>.Action action ) : void
action string>.Action
리턴 void

WithTemporaryQueue() 보호된 메소드

protected WithTemporaryQueue ( string>.Action action, string q ) : void
action string>.Action
q string
리턴 void

WithTemporaryQueue() 보호된 메소드

protected WithTemporaryQueue ( IModel model, string>.Action action ) : void
model IModel
action string>.Action
리턴 void

WithTemporaryQueue() 보호된 메소드

protected WithTemporaryQueue ( IModel model, string>.Action action, string queue ) : void
model IModel
action string>.Action
queue string
리턴 void

WithTemporaryQueueNoWait() 보호된 메소드

protected WithTemporaryQueueNoWait ( IModel model, string>.Action action, string queue ) : void
model IModel
action string>.Action
queue string
리턴 void

프로퍼티 상세

Conn 보호되어 있는 프로퍼티

protected IConnection Conn
리턴 IConnection

Model 보호되어 있는 프로퍼티

protected IModel Model
리턴 IModel

RECOVERY_INTERVAL 공개적으로 정적으로 프로퍼티

public static TimeSpan,System RECOVERY_INTERVAL
리턴 System.TimeSpan

encoding 보호되어 있는 프로퍼티

protected Encoding,System.Text encoding
리턴 System.Text.Encoding