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

A Transport that correlates asynchronous send/receive messages into single request/response.
Inheritance: TransportFilter
Datei anzeigen Open project: ThorTech/apache-nms

Public Methods

Method Description
AsyncRequest ( Command command ) : FutureResponse
Oneway ( Command command ) : void
Request ( Command command, System.TimeSpan timeout ) : Response
ResponseCorrelator ( ITransport next ) : System
Stop ( ) : void

Protected Methods

Method Description
OnCommand ( ITransport sender, Command command ) : void
OnException ( ITransport sender, Exception command ) : void

Private Methods

Method Description
Dispose ( Exception error ) : void
GetNextCommandId ( ) : int

Method Details

AsyncRequest() public method

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

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

Oneway() public method

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

Request() public method

public Request ( Command command, System.TimeSpan timeout ) : Response
command Command
timeout System.TimeSpan
return Apache.NMS.ActiveMQ.Commands.Response

ResponseCorrelator() public method

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

Stop() public method

public Stop ( ) : void
return void