C# Class Animatroller.ExpanderCommunication.SignalRClient

Inheritance: IClientCommunication
显示文件 Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Property Type Description
log Logger

Public Methods

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

Private Methods

Method Description
DataReceived ( string messageType, byte data ) : void

Method Details

SendData() public method

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

SignalRClient() public method

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

StartAsync() public method

public StartAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StopAsync() public method

public StopAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Property Details

log protected_oe static_oe property

protected static Logger log
return Logger