C# Class Apache.NMS.ActiveMQ.Transport.Failover.FailoverTransport

A Transport that is made reliable by being able to fail over to another transport when a transport failure is detected.
Inheritance: ICompositeTransport, IComparable
Datei anzeigen Open project: ThorTech/apache-nms Class Usage Examples

Private Properties

Property Type Description
BuildBackups bool
DoConnect bool
ProcessNewTransports void

Public Methods

Method Description
Add ( bool rebalance, String u ) : void
Add ( bool rebalance, Uri u ) : void
AsyncRequest ( Command command ) : FutureResponse
CompareTo ( Object o ) : int
ConnectionInterruptProcessingComplete ( ConnectionId connectionId ) : void
Dispose ( ) : void
Dispose ( bool disposing ) : void
FailoverTransport ( ) : System
HandleConnectionControl ( ConnectionControl control ) : void
HandleTransportFailure ( Exception e ) : void
Narrow ( Type type ) : Object
OnCommand ( ITransport sender, Command command ) : void
OnException ( ITransport sender, Exception error ) : void
Oneway ( Command command ) : void
Reconnect ( Uri uri ) : void
Reconnect ( bool rebalance ) : void
Remove ( bool rebalance, String u ) : void
Remove ( bool rebalance, Uri u ) : void
Request ( Command command ) : Response
Request ( Command command, TimeSpan ts ) : Response
Start ( ) : void
Stop ( ) : void
ToString ( ) : String
UpdateURIs ( bool rebalance, Uri updatedURIs ) : void
disposedOnCommand ( ITransport sender, Command c ) : void
disposedOnException ( ITransport sender, Exception e ) : void

Protected Methods

Method Description
RestoreTransport ( ITransport t ) : void

Private Methods

Method Description
BuildBackups ( ) : bool
DoConnect ( ) : bool
ProcessNewTransports ( bool rebalance, String newTransports ) : void

Method Details

Add() public method

public Add ( bool rebalance, String u ) : void
rebalance bool
u String
return void

Add() public method

public Add ( bool rebalance, Uri u ) : void
rebalance bool
u System.Uri
return void

AsyncRequest() public method

public AsyncRequest ( Command command ) : FutureResponse
command Command
return FutureResponse

CompareTo() public method

public CompareTo ( Object o ) : int
o Object
return int

ConnectionInterruptProcessingComplete() public method

public ConnectionInterruptProcessingComplete ( ConnectionId connectionId ) : void
connectionId Apache.NMS.ActiveMQ.Commands.ConnectionId
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() public method

public Dispose ( bool disposing ) : void
disposing bool
return void

FailoverTransport() public method

public FailoverTransport ( ) : System
return System

HandleConnectionControl() public method

public HandleConnectionControl ( ConnectionControl control ) : void
control ConnectionControl
return void

HandleTransportFailure() public method

public HandleTransportFailure ( Exception e ) : void
e Exception
return void

Narrow() public method

public Narrow ( Type type ) : Object
type Type
return Object

OnCommand() public method

public OnCommand ( ITransport sender, Command command ) : void
sender ITransport
command Command
return void

OnException() public method

public OnException ( ITransport sender, Exception error ) : void
sender ITransport
error Exception
return void

Oneway() public method

public Oneway ( Command command ) : void
command Command
return void

Reconnect() public method

public Reconnect ( Uri uri ) : void
uri Uri
return void

Reconnect() public method

public Reconnect ( bool rebalance ) : void
rebalance bool
return void

Remove() public method

public Remove ( bool rebalance, String u ) : void
rebalance bool
u String
return void

Remove() public method

public Remove ( bool rebalance, Uri u ) : void
rebalance bool
u Uri
return void

Request() public method

public Request ( Command command ) : Response
command Command
return Response

Request() public method

public Request ( Command command, TimeSpan ts ) : Response
command Command
ts TimeSpan
return Response

RestoreTransport() protected method

protected RestoreTransport ( ITransport t ) : void
t ITransport
return void

Start() public method

public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

ToString() public method

public ToString ( ) : String
return String

UpdateURIs() public method

public UpdateURIs ( bool rebalance, Uri updatedURIs ) : void
rebalance bool
updatedURIs Uri
return void

disposedOnCommand() public method

public disposedOnCommand ( ITransport sender, Command c ) : void
sender ITransport
c Command
return void

disposedOnException() public method

public disposedOnException ( ITransport sender, Exception e ) : void
sender ITransport
e Exception
return void