Свойство | Тип | Описание | |
---|---|---|---|
HandshakeTimeout | int | ||
m_appContinuation | |||
m_callbackException | CallbackExceptionEventHandler | ||
m_clientProperties | object>.IDictionary | ||
m_closeReason | RabbitMQ.Client.ShutdownEventArgs | ||
m_closed | bool | ||
m_connectionBlocked | ConnectionBlockedEventHandler | ||
m_connectionShutdown | ConnectionShutdownEventHandler | ||
m_connectionUnblocked | ConnectionUnblockedEventHandler | ||
m_eventLock | object | ||
m_factory | |||
m_frameHandler | IFrameHandler | ||
m_frameMax | uint | ||
m_heartbeat | ushort | ||
m_heartbeatFrame | |||
m_heartbeatRead | |||
m_heartbeatWrite | |||
m_id | System.Guid | ||
m_knownHosts | RabbitMQ.Client.AmqpTcpEndpoint[] | ||
m_missedHeartbeats | int | ||
m_model0 | |||
m_running | bool | ||
m_serverProperties | object>.IDictionary | ||
m_session0 | RabbitMQ.Client.Impl.MainSession | ||
m_sessionManager | RabbitMQ.Client.Impl.SessionManager | ||
m_shutdownReport | IList |
Свойство | Тип | Описание | |
---|---|---|---|
IDisposable | void | ||
NegotiatedMaxValue | uint |
Метод | Описание | |
---|---|---|
Abort ( ) : void |
API-side invocation of connection abort.
|
|
Abort ( int timeout ) : void |
API-side invocation of connection abort with timeout.
|
|
Abort ( ushort reasonCode, string reasonText ) : void |
API-side invocation of connection abort.
|
|
Abort ( ushort reasonCode, string reasonText, ShutdownInitiator initiator, int timeout ) : void | ||
Abort ( ushort reasonCode, string reasonText, int timeout ) : void |
API-side invocation of connection abort with timeout.
|
|
Close ( ) : void |
API-side invocation of connection.close.
|
|
Close ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
Close ( RabbitMQ.Client.ShutdownEventArgs reason, bool abort, int timeout ) : void |
Try to close connection in a graceful way Shutdown reason contains code and text assigned when closing the connection, as well as the information about what initiated the close Abort flag, if true, signals to close the ongoing connection immediately and do not report any errors if it was already closed. Timeout determines how much time internal close operations should be given to complete. Negative or Timeout.Infinite value mean infinity. |
|
Close ( int timeout ) : void |
API-side invocation of connection.close with timeout.
|
|
Close ( ushort reasonCode, string reasonText ) : void |
API-side invocation of connection.close.
|
|
Close ( ushort reasonCode, string reasonText, int timeout ) : void |
API-side invocation of connection.close with timeout.
|
|
ClosingLoop ( ) : void | Loop only used while quiescing. Use only to cleanly close connection | |
ConnectionBase ( |
||
ConnectionCloseWrapper ( ushort reasonCode, string reasonText ) : |
||
CreateModel ( ) : IModel | ||
CreateSession ( ) : ISession | ||
CreateSession ( int channelNumber ) : ISession | ||
DefaultClientProperties ( ) : object>.IDictionary |
||
FinishClose ( ) : void | ||
HandleConnectionBlocked ( string reason ) : void | ||
HandleConnectionUnblocked ( ) : void | ||
HandleDomainUnload ( object sender, |
We need to close the socket, otherwise attempting to unload the domain could cause a CannotUnloadAppDomainException | |
HandleMainLoopException ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
HardProtocolExceptionHandler ( RabbitMQ.Client.Impl.HardProtocolException hpe ) : bool | ||
HeartbeatReadLoop ( ) : void | ||
HeartbeatWriteLoop ( ) : void | ||
InternalClose ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
LogCloseError ( String error, |
||
MainLoop ( ) : void | ||
MainLoopIteration ( ) : void | ||
NotifyHeartbeatThread ( ) : void | ||
NotifyReceivedCloseOk ( ) : void | ||
OnCallbackException ( RabbitMQ.Client.Events.CallbackExceptionEventArgs args ) : void | ||
OnConnectionBlocked ( RabbitMQ.Client.Events.ConnectionBlockedEventArgs args ) : void | ||
OnConnectionUnblocked ( ) : void | ||
OnShutdown ( ) : void |
Broadcasts notification of the final shutdown of the connection.
|
|
Open ( bool insist ) : void | ||
PrettyPrintShutdownReport ( ) : void | ||
QuiesceChannel ( RabbitMQ.Client.Impl.SoftProtocolException pe ) : void |
Sets the channel named in the SoftProtocolException into "quiescing mode", where we issue a channel.close and ignore everything except for subsequent channel.close messages and the channel.close-ok reply that should eventually arrive. Since a well-behaved peer will not wait indefinitely before issuing the close-ok, we don't bother with a timeout here; compare this to the case of a connection.close-ok, where a timeout is necessary. We need to send the close method and politely wait for a reply before marking the channel as available for reuse. As soon as SoftProtocolException is detected, we should stop servicing ordinary application work, and should concentrate on bringing down the channel as quickly and gracefully as possible. The way this is done, as per the close-protocol, is to signal closure up the stack *before* sending the channel.close, by invoking ISession.Close. Once the upper layers have been signalled, we are free to do what we need to do to clean up and shut down the channel. |
|
SetCloseReason ( RabbitMQ.Client.ShutdownEventArgs reason ) : bool | ||
StartHeartbeatLoop ( ThreadStart loop, string name, bool useBackgroundThread ) : void | ||
StartHeartbeatLoops ( bool useBackgroundThread ) : void | ||
StartMainLoop ( bool useBackgroundThread ) : void | ||
TerminateMainloop ( ) : void | May be called more than once. Should therefore be idempotent. | |
ToString ( ) : string | ||
WriteFrame ( |
Метод | Описание | |
---|---|---|
ChannelCloseWrapper ( ushort reasonCode, string reasonText ) : |
||
StartAndTune ( ) : void |
Метод | Описание | |
---|---|---|
IDisposable ( ) : void | ||
NegotiatedMaxValue ( uint clientValue, uint serverValue ) : uint |
public Abort ( ushort reasonCode, string reasonText ) : void | ||
reasonCode | ushort | |
reasonText | string | |
Результат | void |
public Abort ( ushort reasonCode, string reasonText, ShutdownInitiator initiator, int timeout ) : void | ||
reasonCode | ushort | |
reasonText | string | |
initiator | ShutdownInitiator | |
timeout | int | |
Результат | void |
public Abort ( ushort reasonCode, string reasonText, int timeout ) : void | ||
reasonCode | ushort | |
reasonText | string | |
timeout | int | |
Результат | void |
protected ChannelCloseWrapper ( ushort reasonCode, string reasonText ) : |
||
reasonCode | ushort | |
reasonText | string | |
Результат |
public Close ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
Результат | void |
public Close ( RabbitMQ.Client.ShutdownEventArgs reason, bool abort, int timeout ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
abort | bool | |
timeout | int | |
Результат | void |
public Close ( ushort reasonCode, string reasonText ) : void | ||
reasonCode | ushort | |
reasonText | string | |
Результат | void |
public Close ( ushort reasonCode, string reasonText, int timeout ) : void | ||
reasonCode | ushort | |
reasonText | string | |
timeout | int | |
Результат | void |
public ConnectionBase ( |
||
factory | ||
insist | bool | |
frameHandler | IFrameHandler | |
Результат | System |
public ConnectionCloseWrapper ( ushort reasonCode, string reasonText ) : |
||
reasonCode | ushort | |
reasonText | string | |
Результат |
public CreateSession ( int channelNumber ) : ISession | ||
channelNumber | int | |
Результат | ISession |
public static DefaultClientProperties ( ) : object>.IDictionary |
||
Результат | object>.IDictionary |
public HandleConnectionBlocked ( string reason ) : void | ||
reason | string | |
Результат | void |
public HandleConnectionUnblocked ( ) : void | ||
Результат | void |
public HandleDomainUnload ( object sender, |
||
sender | object | |
ea | ||
Результат | void |
public HandleMainLoopException ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
Результат | void |
public HardProtocolExceptionHandler ( RabbitMQ.Client.Impl.HardProtocolException hpe ) : bool | ||
hpe | RabbitMQ.Client.Impl.HardProtocolException | |
Результат | bool |
public InternalClose ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
Результат | void |
public LogCloseError ( String error, |
||
error | String | |
ex | ||
Результат | void |
public OnCallbackException ( RabbitMQ.Client.Events.CallbackExceptionEventArgs args ) : void | ||
args | RabbitMQ.Client.Events.CallbackExceptionEventArgs | |
Результат | void |
public OnConnectionBlocked ( RabbitMQ.Client.Events.ConnectionBlockedEventArgs args ) : void | ||
args | RabbitMQ.Client.Events.ConnectionBlockedEventArgs | |
Результат | void |
public PrettyPrintShutdownReport ( ) : void | ||
Результат | void |
public QuiesceChannel ( RabbitMQ.Client.Impl.SoftProtocolException pe ) : void | ||
pe | RabbitMQ.Client.Impl.SoftProtocolException | |
Результат | void |
public SetCloseReason ( RabbitMQ.Client.ShutdownEventArgs reason ) : bool | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
Результат | bool |
public StartHeartbeatLoop ( ThreadStart loop, string name, bool useBackgroundThread ) : void | ||
loop | ThreadStart | |
name | string | |
useBackgroundThread | bool | |
Результат | void |
public StartHeartbeatLoops ( bool useBackgroundThread ) : void | ||
useBackgroundThread | bool | |
Результат | void |
public StartMainLoop ( bool useBackgroundThread ) : void | ||
useBackgroundThread | bool | |
Результат | void |
public ManualResetEvent,System.Threading m_appContinuation | ||
Результат |
public CallbackExceptionEventHandler m_callbackException | ||
Результат | CallbackExceptionEventHandler |
public IDictionary |
||
Результат | object>.IDictionary |
public ShutdownEventArgs,RabbitMQ.Client m_closeReason | ||
Результат | RabbitMQ.Client.ShutdownEventArgs |
public ConnectionBlockedEventHandler m_connectionBlocked | ||
Результат | ConnectionBlockedEventHandler |
public ConnectionShutdownEventHandler m_connectionShutdown | ||
Результат | ConnectionShutdownEventHandler |
public ConnectionUnblockedEventHandler m_connectionUnblocked | ||
Результат | ConnectionUnblockedEventHandler |
public ConnectionFactory,RabbitMQ.Client m_factory | ||
Результат |
public Frame,RabbitMQ.Client.Impl m_heartbeatFrame | ||
Результат |
public AutoResetEvent,System.Threading m_heartbeatRead | ||
Результат |
public AutoResetEvent,System.Threading m_heartbeatWrite | ||
Результат |
public AmqpTcpEndpoint[],RabbitMQ.Client m_knownHosts | ||
Результат | RabbitMQ.Client.AmqpTcpEndpoint[] |
public IDictionary |
||
Результат | object>.IDictionary |
public MainSession,RabbitMQ.Client.Impl m_session0 | ||
Результат | RabbitMQ.Client.Impl.MainSession |
public SessionManager,RabbitMQ.Client.Impl m_sessionManager | ||
Результат | RabbitMQ.Client.Impl.SessionManager |