Property | Type | Description | |
---|---|---|---|
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 |
Property | Type | Description | |
---|---|---|---|
IDisposable | void | ||
NegotiatedMaxValue | uint |
Method | Description | |
---|---|---|
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 ( |
Method | Description | |
---|---|---|
ChannelCloseWrapper ( ushort reasonCode, string reasonText ) : |
||
StartAndTune ( ) : void |
Method | Description | |
---|---|---|
IDisposable ( ) : void | ||
NegotiatedMaxValue ( uint clientValue, uint serverValue ) : uint |
public Abort ( ushort reasonCode, string reasonText ) : void | ||
reasonCode | ushort | |
reasonText | string | |
return | void |
public Abort ( ushort reasonCode, string reasonText, ShutdownInitiator initiator, int timeout ) : void | ||
reasonCode | ushort | |
reasonText | string | |
initiator | ShutdownInitiator | |
timeout | int | |
return | void |
public Abort ( ushort reasonCode, string reasonText, int timeout ) : void | ||
reasonCode | ushort | |
reasonText | string | |
timeout | int | |
return | void |
protected ChannelCloseWrapper ( ushort reasonCode, string reasonText ) : |
||
reasonCode | ushort | |
reasonText | string | |
return |
public Close ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
return | void |
public Close ( RabbitMQ.Client.ShutdownEventArgs reason, bool abort, int timeout ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
abort | bool | |
timeout | int | |
return | void |
public Close ( ushort reasonCode, string reasonText ) : void | ||
reasonCode | ushort | |
reasonText | string | |
return | void |
public Close ( ushort reasonCode, string reasonText, int timeout ) : void | ||
reasonCode | ushort | |
reasonText | string | |
timeout | int | |
return | void |
public ConnectionBase ( |
||
factory | ||
insist | bool | |
frameHandler | IFrameHandler | |
return | System |
public ConnectionCloseWrapper ( ushort reasonCode, string reasonText ) : |
||
reasonCode | ushort | |
reasonText | string | |
return |
public CreateSession ( int channelNumber ) : ISession | ||
channelNumber | int | |
return | ISession |
public static DefaultClientProperties ( ) : object>.IDictionary |
||
return | object>.IDictionary |
public HandleConnectionBlocked ( string reason ) : void | ||
reason | string | |
return | void |
public HandleDomainUnload ( object sender, |
||
sender | object | |
ea | ||
return | void |
public HandleMainLoopException ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
return | void |
public HardProtocolExceptionHandler ( RabbitMQ.Client.Impl.HardProtocolException hpe ) : bool | ||
hpe | RabbitMQ.Client.Impl.HardProtocolException | |
return | bool |
public InternalClose ( RabbitMQ.Client.ShutdownEventArgs reason ) : void | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
return | void |
public LogCloseError ( String error, |
||
error | String | |
ex | ||
return | void |
public OnCallbackException ( RabbitMQ.Client.Events.CallbackExceptionEventArgs args ) : void | ||
args | RabbitMQ.Client.Events.CallbackExceptionEventArgs | |
return | void |
public OnConnectionBlocked ( RabbitMQ.Client.Events.ConnectionBlockedEventArgs args ) : void | ||
args | RabbitMQ.Client.Events.ConnectionBlockedEventArgs | |
return | void |
public QuiesceChannel ( RabbitMQ.Client.Impl.SoftProtocolException pe ) : void | ||
pe | RabbitMQ.Client.Impl.SoftProtocolException | |
return | void |
public SetCloseReason ( RabbitMQ.Client.ShutdownEventArgs reason ) : bool | ||
reason | RabbitMQ.Client.ShutdownEventArgs | |
return | bool |
public StartHeartbeatLoop ( ThreadStart loop, string name, bool useBackgroundThread ) : void | ||
loop | ThreadStart | |
name | string | |
useBackgroundThread | bool | |
return | void |
public StartHeartbeatLoops ( bool useBackgroundThread ) : void | ||
useBackgroundThread | bool | |
return | void |
public StartMainLoop ( bool useBackgroundThread ) : void | ||
useBackgroundThread | bool | |
return | void |
public ManualResetEvent,System.Threading m_appContinuation | ||
return |
public CallbackExceptionEventHandler m_callbackException | ||
return | CallbackExceptionEventHandler |
public IDictionary |
||
return | object>.IDictionary |
public ShutdownEventArgs,RabbitMQ.Client m_closeReason | ||
return | RabbitMQ.Client.ShutdownEventArgs |
public ConnectionBlockedEventHandler m_connectionBlocked | ||
return | ConnectionBlockedEventHandler |
public ConnectionShutdownEventHandler m_connectionShutdown | ||
return | ConnectionShutdownEventHandler |
public ConnectionUnblockedEventHandler m_connectionUnblocked | ||
return | ConnectionUnblockedEventHandler |
public ConnectionFactory,RabbitMQ.Client m_factory | ||
return |
public AutoResetEvent,System.Threading m_heartbeatRead | ||
return |
public AutoResetEvent,System.Threading m_heartbeatWrite | ||
return |
public AmqpTcpEndpoint[],RabbitMQ.Client m_knownHosts | ||
return | RabbitMQ.Client.AmqpTcpEndpoint[] |
public IDictionary |
||
return | object>.IDictionary |
public MainSession,RabbitMQ.Client.Impl m_session0 | ||
return | RabbitMQ.Client.Impl.MainSession |
public SessionManager,RabbitMQ.Client.Impl m_sessionManager | ||
return | RabbitMQ.Client.Impl.SessionManager |