C# 클래스 NetMQ.Core.Patterns.Router

A Router is a subclass of SocketBase
상속: SocketBase
파일 보기 프로젝트 열기: NetMQ/NetMQ3-x

공개 메소드들

메소드 설명
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 Recv method calls this lower-level method to do the actual receiving.

XSend ( Msg &msg ) : bool

Transmit the given message. The Send method calls this to do the actual sending.

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

메소드 상세

Destroy() 공개 메소드

public Destroy ( ) : void
리턴 void

Rollback() 보호된 메소드

protected Rollback ( ) : void
리턴 void

Router() 공개 메소드

Create a new Router instance with the given parent-Ctx, thread-id, and socket-id.
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

XAttachPipe() 보호된 메소드

Register the pipe with this socket.
protected XAttachPipe ( Pipe pipe, bool icanhasall ) : void
pipe Pipe the Pipe to attach
icanhasall bool not used
리턴 void

XHasIn() 보호된 메소드

protected XHasIn ( ) : bool
리턴 bool

XHasOut() 보호된 메소드

protected XHasOut ( ) : bool
리턴 bool

XReadActivated() 보호된 메소드

Indicate the given pipe as being ready for reading by this socket.
protected XReadActivated ( Pipe pipe ) : void
pipe Pipe the Pipe that is now becoming available for reading
리턴 void

XRecv() 보호된 메소드

Receive a message. The Recv method calls this lower-level method to do the actual receiving.
protected XRecv ( Msg &msg ) : bool
msg Msg the Msg to receive the message into
리턴 bool

XSend() 보호된 메소드

Transmit the given message. The Send method calls this to do the actual sending.
The receiving host must be identifiable.
protected XSend ( Msg &msg ) : bool
msg Msg the message to transmit
리턴 bool

XSetSocketOption() 보호된 메소드

protected XSetSocketOption ( ZmqSocketOption option, object optval ) : bool
option ZmqSocketOption
optval object
리턴 bool

XTerminated() 보호된 메소드

This is an override of the abstract method that gets called to signal that the given pipe is to be removed from this socket.
protected XTerminated ( Pipe pipe ) : void
pipe Pipe the Pipe that is being removed
리턴 void

XWriteActivated() 보호된 메소드

Indicate the given pipe as being ready for writing to by this socket. This gets called by the WriteActivated method.
protected XWriteActivated ( Pipe pipe ) : void
pipe Pipe the Pipe that is now becoming available for writing
리턴 void