Свойство | Тип | Описание | |
---|---|---|---|
ChooseIOThread | NetMQ.Core.IOThread | ||
FindEndpoint | |||
SendCommand | void |
Метод | Описание | |
---|---|---|
ProcessCommand ( [ cmd ) : void |
Метод | Описание | |
---|---|---|
DestroySocket ( [ socket ) : void | ||
ProcessActivateRead ( ) : void | ||
ProcessActivateWrite ( long msgsRead ) : void | ||
ProcessAttach ( [ engine ) : void | ||
ProcessBind ( [ pipe ) : void |
Process the bind command with the given pipe.
|
|
ProcessForceStop ( ) : void | ||
ProcessHiccup ( [ pipe ) : void |
This method would be called to assign the specified pipe as a replacement for the outbound pipe that was being used. This, is an abstract method that is to be overridden by subclasses to provide their own concrete implementation. A "Hiccup" occurs when an outbound pipe experiences something like a transient disconnect or for whatever other reason is no longer available for writing to. |
|
ProcessOwn ( [ obj ) : void | ||
ProcessPipeTerm ( ) : void |
Process the terminate-pipe command.
|
|
ProcessPipeTermAck ( ) : void |
Process the terminate-pipe acknowledgement command.
|
|
ProcessPlug ( ) : void | ||
ProcessReap ( [ socket ) : void | ||
ProcessReaped ( ) : void | ||
ProcessSeqnum ( ) : void |
Special handler called after a command that requires a seqnum was processed. The implementation should catch up with its counter of processed commands here.
|
|
ProcessStop ( ) : void | ||
ProcessTerm ( int linger ) : void |
Process a termination request.
|
|
ProcessTermAck ( ) : void |
Process the termination-acknowledgement command.
|
|
ProcessTermReq ( [ obj ) : void |
Process a termination-request command on the Own object.
|
|
RegisterEndpoint ( [ addr, [ endpoint ) : bool | ||
SendActivateRead ( [ destination ) : void | ||
SendActivateWrite ( [ destination, long msgsRead ) : void | ||
SendAttach ( [ destination, [ engine, bool incSeqnum = true ) : void |
Send the Attach command
|
|
SendBind ( [ destination, [ pipe, bool incSeqnum = true ) : void |
Send the Bind command
|
|
SendDone ( ) : void |
Send a Done command to the Ctx itself (null destination).
|
|
SendForceStop ( ) : void | ||
SendHiccup ( [ destination, [ pipe ) : void | ||
SendOwn ( [ destination, [ obj ) : void |
Send the Own command, and increment the sequence-number of the destination
|
|
SendPipeTerm ( [ destination ) : void | ||
SendPipeTermAck ( [ destination ) : void | ||
SendPlug ( [ destination, bool incSeqnum = true ) : void |
Send the Plug command, incrementing the destinations sequence-number if incSeqnum is true.
|
|
SendReap ( [ socket ) : void | ||
SendReaped ( ) : void | ||
SendStop ( ) : void |
Send the Stop command.
|
|
SendTerm ( [ destination, int linger ) : void | ||
SendTermAck ( [ destination ) : void | ||
SendTermReq ( [ destination, [ obj ) : void |
For owned objects, asks the owner (destination) to terminate obj.
|
|
UnregisterEndpoint ( [ addr, [ socket ) : bool | ||
UnregisterEndpoints ( [ socket ) : void | ||
ZObject ( [ parent ) : System |
Create a new ZObject that has the same context and thread-id as the given parent-ZObject.
|
|
ZObject ( [ ctx, int threadId ) : System |
Create a new ZObject with the given context and thread-id.
|
Метод | Описание | |
---|---|---|
ChooseIOThread ( long affinity ) : NetMQ.Core.IOThread | ||
FindEndpoint ( [ addr ) : |
||
SendCommand ( [ cmd ) : void |
Send the given Command, on that commands Destination thread.
|
protected DestroySocket ( [ socket ) : void | ||
socket | [ | |
Результат | void |
protected ProcessActivateWrite ( long msgsRead ) : void | ||
msgsRead | long | |
Результат | void |
protected ProcessAttach ( [ engine ) : void | ||
engine | [ | |
Результат | void |
protected ProcessHiccup ( [ pipe ) : void | ||
pipe | [ | the pipe to use for writing |
Результат | void |
protected ProcessTerm ( int linger ) : void | ||
linger | int | a time (in milliseconds) for this to linger before actually going away. -1 means infinite. |
Результат | void |
protected RegisterEndpoint ( [ addr, [ endpoint ) : bool | ||
addr | [ | |
endpoint | [ | |
Результат | bool |
protected SendActivateRead ( [ destination ) : void | ||
destination | [ | |
Результат | void |
protected SendActivateWrite ( [ destination, long msgsRead ) : void | ||
destination | [ | |
msgsRead | long | |
Результат | void |
protected SendAttach ( [ destination, [ engine, bool incSeqnum = true ) : void | ||
destination | [ | the Own to send the command to |
engine | [ | |
incSeqnum | bool | |
Результат | void |
protected SendBind ( [ destination, [ pipe, bool incSeqnum = true ) : void | ||
destination | [ | |
pipe | [ | |
incSeqnum | bool | |
Результат | void |
protected SendHiccup ( [ destination, [ pipe ) : void | ||
destination | [ | |
pipe | [ | |
Результат | void |
protected SendOwn ( [ destination, [ obj ) : void | ||
destination | [ | the Own to send the command to |
obj | [ | the object to Own |
Результат | void |
protected SendPipeTerm ( [ destination ) : void | ||
destination | [ | |
Результат | void |
protected SendPipeTermAck ( [ destination ) : void | ||
destination | [ | |
Результат | void |
protected SendPlug ( [ destination, bool incSeqnum = true ) : void | ||
destination | [ | the Own to send the command to |
incSeqnum | bool | a flag that dictates whether to increment the sequence-number on the destination (optional - defaults to false) |
Результат | void |
protected SendTerm ( [ destination, int linger ) : void | ||
destination | [ | |
linger | int | |
Результат | void |
protected SendTermAck ( [ destination ) : void | ||
destination | [ | |
Результат | void |
protected SendTermReq ( [ destination, [ obj ) : void | ||
destination | [ | |
obj | [ | |
Результат | void |
protected UnregisterEndpoint ( [ addr, [ socket ) : bool | ||
addr | [ | |
socket | [ | |
Результат | bool |
protected UnregisterEndpoints ( [ socket ) : void | ||
socket | [ | |
Результат | void |
protected ZObject ( [ parent ) : System | ||
parent | [ | another ZObject that provides the context and thread-id for this one |
Результат | System |
protected ZObject ( [ ctx, int threadId ) : System | ||
ctx | [ | the context for the new ZObject to live within |
threadId | int | the integer thread-id for the new ZObject to be associated with |
Результат | System |