C# Class Animatroller.ExpanderCommunication.SignalRServer

Inheritance: IDisposable, IServerCommunication
Show file Open project: HakanL/animatroller Class Usage Examples

Protected Properties

Property Type Description
log Logger

Public Methods

Method Description
Dispose ( ) : void
SendToClientAsync ( string instanceId, string messageType, byte data ) : Task
SignalRServer ( int listenPort, Action dataReceivedAction ) : System
StartAsync ( ) : System.Threading.Tasks.Task
StopAsync ( ) : System.Threading.Tasks.Task

Private Methods

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

Method Details

Dispose() public method

public Dispose ( ) : void
return void

SendToClientAsync() public method

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

SignalRServer() public method

public SignalRServer ( int listenPort, Action dataReceivedAction ) : System
listenPort int
dataReceivedAction 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 static property

protected static Logger log
return Logger