C# Class amp.eventing.RpcRegistration

Inheritance: IRegistration
Show file Open project: Berico-Technologies/AMP Class Usage Examples

Protected Properties

Property Type Description
_log ILog
_openEnvelope MessageContext>.Func
_responseEnvelope Envelope
_responseEvent System.Threading.AutoResetEvent
_responseFilter Predicate

Public Methods

Method Description
GetResponse ( System.TimeSpan timeout ) : object
Handle ( Envelope env ) : object
HandleFailed ( Envelope env, Exception ex ) : object
RpcRegistration ( System.Guid requestId, string expectedTopic, MessageContext>.Func openEnvelope ) : System

Protected Methods

Method Description
BuildRpcTopic ( string expectedTopic, System.Guid requestId ) : string

Method Details

BuildRpcTopic() protected method

protected BuildRpcTopic ( string expectedTopic, System.Guid requestId ) : string
expectedTopic string
requestId System.Guid
return string

GetResponse() public method

public GetResponse ( System.TimeSpan timeout ) : object
timeout System.TimeSpan
return object

Handle() public method

public Handle ( Envelope env ) : object
env Envelope
return object

HandleFailed() public method

public HandleFailed ( Envelope env, Exception ex ) : object
env Envelope
ex System.Exception
return object

RpcRegistration() public method

public RpcRegistration ( System.Guid requestId, string expectedTopic, MessageContext>.Func openEnvelope ) : System
requestId System.Guid
expectedTopic string
openEnvelope MessageContext>.Func
return System

Property Details

_log protected property

protected ILog _log
return ILog

_openEnvelope protected property

protected Func _openEnvelope
return MessageContext>.Func

_responseEnvelope protected property

protected Envelope _responseEnvelope
return Envelope

_responseEvent protected property

protected AutoResetEvent,System.Threading _responseEvent
return System.Threading.AutoResetEvent

_responseFilter protected property

protected Predicate _responseFilter
return Predicate