C# Class NetMQ.ReactiveExtensions.NetMqTransportShared

Intent: We want to have one transport shared among all publishers and subscribers, in this process, if they happen to use the same TCP/IP port.
Inheritance: INetMqTransportShared
Mostrar archivo Open project: NetMQ/NetMQ.ReactiveExtensions Class Usage Examples

Public Methods

Method Description
GetSharedPublisherSocket ( string addressZeroMq ) : PublisherSocket

Intent: See interface.

GetSharedSubscriberSocket ( string addressZeroMq ) : SubscriberSocket

Intent: See interface.

Instance ( Action loggerDelegate = null ) : NetMqTransportShared

Intent: Singleton.

Private Methods

Method Description
GetNewPublisherSocket ( string addressZeroMq ) : PublisherSocket
NetMqTransportShared ( Action loggerDelegate = null ) : System
Publisher_Event_Accepted ( object sender, NetMQ.Monitoring.NetMQMonitorSocketEventArgs e ) : void
Publisher_Event_Listening ( object sender, NetMQ.Monitoring.NetMQMonitorSocketEventArgs e ) : void

Method Details

GetSharedPublisherSocket() public method

Intent: See interface.
public GetSharedPublisherSocket ( string addressZeroMq ) : PublisherSocket
addressZeroMq string
return NetMQ.Sockets.PublisherSocket

GetSharedSubscriberSocket() public method

Intent: See interface.
public GetSharedSubscriberSocket ( string addressZeroMq ) : SubscriberSocket
addressZeroMq string
return NetMQ.Sockets.SubscriberSocket

Instance() public static method

Intent: Singleton.
public static Instance ( Action loggerDelegate = null ) : NetMqTransportShared
loggerDelegate Action
return NetMqTransportShared