C# Class Animatroller.ExpanderCommunication.NettyClient

Inheritance: IClientCommunication
Datei anzeigen Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Property Type Description
log Logger

Public Methods

Method Description
NettyClient ( string host, int port, string instanceId, byte[]>.Action dataReceivedAction, System.Action connectedAction ) : System
SendData ( string messageType, byte data ) : Task
StartAsync ( ) : Task
StopAsync ( ) : Task

Private Methods

Method Description
Connected ( ) : void
DataReceived ( string messageType, byte data ) : void
WriteStringToBuffer ( IByteBuffer buffer, string input ) : void

Method Details

NettyClient() public method

public NettyClient ( string host, int port, string instanceId, byte[]>.Action dataReceivedAction, System.Action connectedAction ) : System
host string
port int
instanceId string
dataReceivedAction byte[]>.Action
connectedAction System.Action
return System

SendData() public method

public SendData ( string messageType, byte data ) : Task
messageType string
data byte
return Task

StartAsync() public method

public StartAsync ( ) : Task
return Task

StopAsync() public method

public StopAsync ( ) : Task
return Task

Property Details

log protected_oe static_oe property

protected static Logger log
return Logger