메소드 | 설명 | |
---|---|---|
Create ( uint frontendPort, uint backendPort, ZmqContext context ) : |
Currently supports only single address *, no multihomed interface yet We will wait for other situation when it's needed
|
|
Router ( uint frontendPort, uint backendPort, ZmqContext context ) : System | ||
Start ( ) : void | ||
Stop ( ) : void |
메소드 | 설명 | |
---|---|---|
IsStopCommand ( string data ) : bool | ||
PrepareSockets ( ) : void |
+------------+ _____ W <--> | ROUTER | / W <--> o|B F|o <----- W <--> | DEALER | \_____ +------------+
|
|
RelayMessage ( ZmqSocket source, ZmqSocket destination ) : void | ||
StartRouting ( ) : void | ||
StopRouting ( ) : void | ||
_backendSocket_ReceiveReady ( object sender, ZeroMQ.SocketEventArgs e ) : void | ||
_backendSocket_SendReady ( object sender, ZeroMQ.SocketEventArgs e ) : void | ||
_frontendSocket_ReceiveReady ( object sender, ZeroMQ.SocketEventArgs e ) : void | ||
_frontendSocket_SendReady ( object sender, ZeroMQ.SocketEventArgs e ) : void |
public static Create ( uint frontendPort, uint backendPort, ZmqContext context ) : |
||
frontendPort | uint | |
backendPort | uint | |
context | ZmqContext | |
리턴 |
public Router ( uint frontendPort, uint backendPort, ZmqContext context ) : System | ||
frontendPort | uint | |
backendPort | uint | |
context | ZmqContext | |
리턴 | System |