C# Class NetMQ.NetMQContext

Context class of the NetMQ, you should have only one context in your application
Inheritance: IDisposable
Afficher le fichier Open project: NetMQ/NetMQ3-x Class Usage Examples

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Close (or terminate) this context.

Private Methods

Méthode 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 méthode

Close (or terminate) this context.
public Dispose ( ) : void
Résultat void

Dispose() protected méthode

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

Terminate() public méthode

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
Résultat void