C# Class Res.Core.TcpTransport.NetworkIO.TcpGateway

显示文件 Open project: heartysoft/res Class Usage Examples

Public Methods

Method Description
Disconnect ( ) : void
Process ( TaskCompleted completed ) : void
ReceiveMessage ( ) : bool
Reconnect ( ) : void
TcpGateway ( NetMQContext ctx, string endpoint, MessageProcessor processor ) : System

Private Methods

Method Description
connect ( ) : NetMQSocket
connect_raw ( ) : NetMQSocket
socket_ReceiveReady ( object sender, NetMQSocketEventArgs e ) : void

Method Details

Disconnect() public method

public Disconnect ( ) : void
return void

Process() public method

public Process ( TaskCompleted completed ) : void
completed TaskCompleted
return void

ReceiveMessage() public method

public ReceiveMessage ( ) : bool
return bool

Reconnect() public method

public Reconnect ( ) : void
return void

TcpGateway() public method

public TcpGateway ( NetMQContext ctx, string endpoint, MessageProcessor processor ) : System
ctx NetMQContext
endpoint string
processor MessageProcessor
return System