Метод | Описание | |
---|---|---|
NettyServer ( int listenPort, Action |
||
SendToClientAsync ( string instanceId, string messageType, byte data ) : Task |
||
StartAsync ( ) : System.Threading.Tasks.Task | ||
StopAsync ( ) : System.Threading.Tasks.Task |
Метод | Описание | |
---|---|---|
SetInstanceIdChannel ( string instanceId, IChannel channel ) : void |
public NettyServer ( int listenPort, Action |
||
listenPort | int | |
dataReceivedAction | Action |
|
clientConnectedAction | string>.Action | |
Результат | System |
public SendToClientAsync ( string instanceId, string messageType, byte data ) : Task |
||
instanceId | string | |
messageType | string | |
data | byte | |
Результат | Task |
public StartAsync ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |
public StopAsync ( ) : System.Threading.Tasks.Task | ||
Результат | System.Threading.Tasks.Task |