C# Class SocketIOClient.EndPointClient

Inheritance: IEndPointClient
Mostra file Open project: ase-lab/SoD_Sensor_v2 Class Usage Examples

Public Methods

Method Description
Emit ( string eventName, dynamic payload, Action callBack = null ) : void
EndPointClient ( IClient client, string endPoint ) : System
On ( string eventName, Action action ) : void
Send ( Messages msg ) : void

Private Methods

Method Description
validateNameSpace ( string name ) : void

Method Details

Emit() public method

public Emit ( string eventName, dynamic payload, Action callBack = null ) : void
eventName string
payload dynamic
callBack Action
return void

EndPointClient() public method

public EndPointClient ( IClient client, string endPoint ) : System
client IClient
endPoint string
return System

On() public method

public On ( string eventName, Action action ) : void
eventName string
action Action
return void

Send() public method

public Send ( Messages msg ) : void
msg Messages
return void