C# Class Animatroller.ExpanderCommunication.NettyClient

Inheritance: IClientCommunication
Afficher le fichier Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Свойство Type Description
log Logger

Méthodes publiques

Méthode 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

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

Method Details

NettyClient() public méthode

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
Résultat System

SendData() public méthode

public SendData ( string messageType, byte data ) : Task
messageType string
data byte
Résultat Task

StartAsync() public méthode

public StartAsync ( ) : Task
Résultat Task

StopAsync() public méthode

public StopAsync ( ) : Task
Résultat Task

Property Details

log protected_oe static_oe property

protected static Logger log
Résultat Logger