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

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

Méthodes publiques

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

Méthodes protégées

Méthode Description
OnCommand ( ITransport sender, Command command ) : void
OnException ( ITransport sender, Exception command ) : void

Private Methods

Méthode Description
Dispose ( Exception error ) : void
GetNextCommandId ( ) : int

Method Details

AsyncRequest() public méthode

public AsyncRequest ( Command command ) : FutureResponse
command Command
Résultat FutureResponse

OnCommand() protected méthode

protected OnCommand ( ITransport sender, Command command ) : void
sender ITransport
command Command
Résultat void

OnException() protected méthode

protected OnException ( ITransport sender, Exception command ) : void
sender ITransport
command System.Exception
Résultat void

Oneway() public méthode

public Oneway ( Command command ) : void
command Command
Résultat void

Request() public méthode

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

ResponseCorrelator() public méthode

public ResponseCorrelator ( ITransport next ) : System
next ITransport
Résultat System

Stop() public méthode

public Stop ( ) : void
Résultat void