C# Class Dwarrowdelf.TcpConnection

Inheritance: IConnection
ファイルを表示 Open project: tomba/dwarrowdelf Class Usage Examples

Public Methods

Method Description
ConnectAsync ( INetStatCollector netStatCollector = null, string debugName = null ) : Task
Disconnect ( ) : void
Dispose ( ) : void
GetMessageAsync ( ) : Task
Send ( Message msg ) : void
TcpConnection ( Socket socket, INetStatCollector netStatCollector = null, string debugName = null ) : System
TryGetMessage ( Message &msg ) : bool

Private Methods

Method Description
DeserializerMain ( ) : void
Dispose ( bool disposing ) : void
ReceiveInternal ( ) : Message

Method Details

ConnectAsync() public static method

public static ConnectAsync ( INetStatCollector netStatCollector = null, string debugName = null ) : Task
netStatCollector INetStatCollector
debugName string
return Task

Disconnect() public method

public Disconnect ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetMessageAsync() public method

public GetMessageAsync ( ) : Task
return Task

Send() public method

public Send ( Message msg ) : void
msg Message
return void

TcpConnection() public method

public TcpConnection ( Socket socket, INetStatCollector netStatCollector = null, string debugName = null ) : System
socket Socket
netStatCollector INetStatCollector
debugName string
return System

TryGetMessage() public method

public TryGetMessage ( Message &msg ) : bool
msg Message
return bool