C# 클래스 Animatroller.ExpanderCommunication.NettyServer

상속: IServerCommunication
파일 보기 프로젝트 열기: HakanL/animatroller 1 사용 예제들

공개 메소드들

메소드 설명
NettyServer ( int listenPort, Action dataReceivedAction, string>.Action clientConnectedAction ) : System
SendToClientAsync ( string instanceId, string messageType, byte data ) : Task
StartAsync ( ) : System.Threading.Tasks.Task
StopAsync ( ) : System.Threading.Tasks.Task

비공개 메소드들

메소드 설명
SetInstanceIdChannel ( string instanceId, IChannel channel ) : void

메소드 상세

NettyServer() 공개 메소드

public NettyServer ( int listenPort, Action dataReceivedAction, string>.Action clientConnectedAction ) : System
listenPort int
dataReceivedAction Action
clientConnectedAction string>.Action
리턴 System

SendToClientAsync() 공개 메소드

public SendToClientAsync ( string instanceId, string messageType, byte data ) : Task
instanceId string
messageType string
data byte
리턴 Task

StartAsync() 공개 메소드

public StartAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task

StopAsync() 공개 메소드

public StopAsync ( ) : System.Threading.Tasks.Task
리턴 System.Threading.Tasks.Task