메소드 | 설명 | |
---|---|---|
Destroy ( ) : void | ||
Router ( [ parent, int threadId, int socketId ) : System |
Create a new Router instance with the given parent-Ctx, thread-id, and socket-id.
|
메소드 | 설명 | |
---|---|---|
Rollback ( ) : void | ||
XAttachPipe ( Pipe pipe, bool icanhasall ) : void |
Register the pipe with this socket.
|
|
XHasIn ( ) : bool | ||
XHasOut ( ) : bool | ||
XReadActivated ( Pipe pipe ) : void |
Indicate the given pipe as being ready for reading by this socket.
|
|
XRecv ( Msg &msg ) : bool |
Receive a message. The
|
|
XSend ( Msg &msg ) : bool |
Transmit the given message. The
|
|
XSetSocketOption ( ZmqSocketOption option, object optval ) : bool | ||
XTerminated ( Pipe pipe ) : void |
This is an override of the abstract method that gets called to signal that the given pipe is to be removed from this socket.
|
|
XWriteActivated ( Pipe pipe ) : void |
Indicate the given pipe as being ready for writing to by this socket. This gets called by the WriteActivated method.
|
메소드 | 설명 | |
---|---|---|
IdentifyPeer ( [ pipe ) : bool |
public Router ( [ parent, int threadId, int socketId ) : System | ||
parent | [ | the Ctx that will contain this Router |
threadId | int | the integer thread-id value |
socketId | int | the integer socket-id value |
리턴 | System |
protected XAttachPipe ( Pipe pipe, bool icanhasall ) : void | ||
pipe | Pipe | the Pipe to attach |
icanhasall | bool | not used |
리턴 | void |
protected XReadActivated ( Pipe pipe ) : void | ||
pipe | Pipe | the |
리턴 | void |
protected XRecv ( Msg &msg ) : bool | ||
msg | Msg | the |
리턴 | bool |
protected XSetSocketOption ( ZmqSocketOption option, object optval ) : bool | ||
option | ZmqSocketOption | |
optval | object | |
리턴 | bool |
protected XTerminated ( Pipe pipe ) : void | ||
pipe | Pipe | the Pipe that is being removed |
리턴 | void |
protected XWriteActivated ( Pipe pipe ) : void | ||
pipe | Pipe | the |
리턴 | void |