Method | Description | |
---|---|---|
CheckDisposed ( ) : void |
Throws ObjectDisposedException if this is already disposed.
|
|
DestroySocket ( [ socket ) : void |
Destroy the given socket - which means to remove it from the list of active sockets, and add it to the list of unused sockets to be terminated. If this was the last socket, then stop the reaper. |
|
GetReaper ( ) : |
Returns reaper thread object.
|
|
RegisterEndpoint ( [ address, [ endpoint ) : bool |
Save the given address and Endpoint within our internal list. This is used for management of inproc endpoints.
|
|
SendCommand ( int threadId, [ command ) : void |
Send a command to the given destination thread.
|
|
Terminate ( ) : void |
This function is called when user invokes zmq_term. If there are no more sockets open it'll cause all the infrastructure to be shut down. If there are open sockets still, the deallocation happens after the last one is closed.
|
|
UnregisterEndpoint ( [ address, [ socket ) : bool |
Un-register the given address/socket, by removing it from the contained list of endpoints.
|
|
UnregisterEndpoints ( [ socket ) : void |
Remove from the list of endpoints, all endpoints that reference the given socket.
|
Method | Description | |
---|---|---|
ChooseIOThread ( long affinity ) : NetMQ.Core.IOThread | ||
CreateSocket ( ZmqSocketType type ) : |
||
FindEndpoint ( [ addr ) : Endpoint |
public DestroySocket ( [ socket ) : void | ||
socket | [ | the socket to destroy |
return | void |
public RegisterEndpoint ( [ address, [ endpoint ) : bool | ||
address | [ | the textual name to give this endpoint |
endpoint | [ | the Endpoint to remember |
return | bool |
public SendCommand ( int threadId, [ command ) : void | ||
threadId | int | |
command | [ | |
return | void |
public UnregisterEndpoint ( [ address, [ socket ) : bool | ||
address | [ | the (string) address denoting the endpoint to unregister |
socket | [ | the socket associated with that endpoint |
return | bool |
public UnregisterEndpoints ( [ socket ) : void | ||
socket | [ | the socket to remove all references to |
return | void |