C# Class Apache.NMS.ActiveMQ.Transport.TransportFilter

Used to implement a filter on the transport layer.
Inheritance: ITransport
Datei anzeigen Open project: ThorTech/apache-nms

Protected Properties

Property Type Description
commandHandler CommandHandler
exceptionHandler ExceptionHandler
interruptedHandler InterruptedHandler
next ITransport
resumedHandler ResumedHandler

Public Methods

Method Description
AsyncRequest ( Command command ) : FutureResponse

Method AsyncRequest

Dispose ( ) : void

Method Dispose

Narrow ( Type type ) : Object
Oneway ( Command command ) : void

Method Oneway

Request ( Command command ) : Response

Method Request

Request ( Command command, System.TimeSpan timeout ) : Response

Method Request with time out for Response.

Start ( ) : void

Method Start

Stop ( ) : void
TransportFilter ( ITransport next ) : System
UpdateURIs ( bool rebalance, Uri updatedURIs ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
OnCommand ( ITransport sender, Command command ) : void
OnException ( ITransport sender, Exception command ) : void
OnInterrupted ( ITransport sender ) : void
OnResumed ( ITransport sender ) : void

Method Details

AsyncRequest() public method

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

Dispose() public method

Method Dispose
public Dispose ( ) : void
return void

Dispose() protected method

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

Narrow() public method

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

OnCommand() protected method

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

OnException() protected method

protected OnException ( ITransport sender, Exception command ) : void
sender ITransport
command System.Exception
return void

OnInterrupted() protected method

protected OnInterrupted ( ITransport sender ) : void
sender ITransport
return void

OnResumed() protected method

protected OnResumed ( ITransport sender ) : void
sender ITransport
return void

Oneway() public method

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

Request() public method

Method Request
public Request ( Command command ) : Response
command Command A Command
return Apache.NMS.ActiveMQ.Commands.Response

Request() public method

Method Request with time out for Response.
public Request ( Command command, System.TimeSpan timeout ) : Response
command Command A Command
timeout System.TimeSpan Timeout in milliseconds
return Apache.NMS.ActiveMQ.Commands.Response

Start() public method

Method Start
public Start ( ) : void
return void

Stop() public method

public Stop ( ) : void
return void

TransportFilter() public method

public TransportFilter ( ITransport next ) : System
next ITransport
return System

UpdateURIs() public method

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

Property Details

commandHandler protected_oe property

protected CommandHandler commandHandler
return CommandHandler

exceptionHandler protected_oe property

protected ExceptionHandler exceptionHandler
return ExceptionHandler

interruptedHandler protected_oe property

protected InterruptedHandler interruptedHandler
return InterruptedHandler

next protected_oe property

protected ITransport next
return ITransport

resumedHandler protected_oe property

protected ResumedHandler resumedHandler
return ResumedHandler