C# Class NetMQ.NetMQContext

Context class of the NetMQ, you should have only one context in your application
Inheritance: IDisposable
显示文件 Open project: NetMQ/NetMQ3-x Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Close (or terminate) this context.

Terminate ( ) : void

Close (terminate) this context.

May be safely called even if already terminated. This must not be called on a context that is already closed otherwise an ObjectDisposedException is thrown.

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Close (or terminate) this context.

Private Methods

Method Description
Create ( ) : NetMQContext
CreateDealerSocket ( ) : DealerSocket
CreateHandle ( ZmqSocketType socketType ) : NetMQ.zmq.SocketBase
CreateMonitorSocket ( [ endpoint ) : NetMQMonitor
CreatePairSocket ( ) : PairSocket
CreatePublisherSocket ( ) : PublisherSocket
CreatePullSocket ( ) : PullSocket
CreatePushSocket ( ) : PushSocket
CreateRequestSocket ( ) : RequestSocket
CreateResponseSocket ( ) : ResponseSocket
CreateRouterSocket ( ) : RouterSocket
CreateSocket ( ZmqSocketType socketType ) : NetMQSocket
CreateStreamSocket ( ) : NetMQ.Sockets.StreamSocket
CreateSubscriberSocket ( ) : SubscriberSocket
CreateXPublisherSocket ( ) : XPublisherSocket
CreateXSubscriberSocket ( ) : XSubscriberSocket
NetMQContext ( [ ctx ) : System

Method Details

Dispose() public method

Close (or terminate) this context.
public Dispose ( ) : void
return void

Dispose() protected method

Close (or terminate) this context.
protected Dispose ( bool disposing ) : void
disposing bool true if releasing managed resources
return void

Terminate() public method

Close (terminate) this context.
May be safely called even if already terminated. This must not be called on a context that is already closed otherwise an ObjectDisposedException is thrown.
public Terminate ( ) : void
return void