C# Class amp.rabbit.transport.RabbitTransportProvider

Inheritance: ITransportProvider
显示文件 Open project: Berico-Technologies/AMP

Protected Properties

Property Type Description
_connFactory IRabbitConnectionFactory
_listeners RabbitListener>.IDictionary
_routingInfoCache IRoutingInfoCache
_topoSvc ITopologyService

Public Methods

Method Description
Dispose ( ) : void
GetRoutingFromCacheOrService ( IRoutingInfoCache cache, ITopologyService service, string>.IDictionary hints ) : RoutingInfo
RabbitTransportProvider ( ITopologyService topologyService, IRabbitConnectionFactory connFactory, IRoutingInfoCache routingInfoCache ) : System
Register ( IRegistration registration ) : void
Send ( Envelope env ) : void
Unregister ( IRegistration registration ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void
listener_OnEnvelopeReceived ( IEnvelopeDispatcher dispatcher ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

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

GetRoutingFromCacheOrService() public method

public GetRoutingFromCacheOrService ( IRoutingInfoCache cache, ITopologyService service, string>.IDictionary hints ) : RoutingInfo
cache IRoutingInfoCache
service ITopologyService
hints string>.IDictionary
return amp.rabbit.topology.RoutingInfo

RabbitTransportProvider() public method

public RabbitTransportProvider ( ITopologyService topologyService, IRabbitConnectionFactory connFactory, IRoutingInfoCache routingInfoCache ) : System
topologyService ITopologyService
connFactory IRabbitConnectionFactory
routingInfoCache IRoutingInfoCache
return System

Register() public method

public Register ( IRegistration registration ) : void
registration IRegistration
return void

Send() public method

public Send ( Envelope env ) : void
env Envelope
return void

Unregister() public method

public Unregister ( IRegistration registration ) : void
registration IRegistration
return void

listener_OnEnvelopeReceived() protected method

protected listener_OnEnvelopeReceived ( IEnvelopeDispatcher dispatcher ) : void
dispatcher IEnvelopeDispatcher
return void

Property Details

_connFactory protected_oe property

protected IRabbitConnectionFactory _connFactory
return IRabbitConnectionFactory

_listeners protected_oe property

protected IDictionary _listeners
return RabbitListener>.IDictionary

_routingInfoCache protected_oe property

protected IRoutingInfoCache _routingInfoCache
return IRoutingInfoCache

_topoSvc protected_oe property

protected ITopologyService _topoSvc
return ITopologyService