Method | Description | |
---|---|---|
NettyServer ( int listenPort, Action |
||
SendToClientAsync ( string instanceId, string messageType, byte data ) : Task |
||
StartAsync ( ) : System.Threading.Tasks.Task | ||
StopAsync ( ) : System.Threading.Tasks.Task |
Method | Description | |
---|---|---|
SetInstanceIdChannel ( string instanceId, IChannel channel ) : void |
public NettyServer ( int listenPort, Action |
||
listenPort | int | |
dataReceivedAction | Action |
|
clientConnectedAction | string>.Action | |
return | System |
public SendToClientAsync ( string instanceId, string messageType, byte data ) : Task |
||
instanceId | string | |
messageType | string | |
data | byte | |
return | Task |
public StartAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |
public StopAsync ( ) : System.Threading.Tasks.Task | ||
return | System.Threading.Tasks.Task |