C# Class SocketIOClient.EndPointClient

Inheritance: IEndPointClient
Afficher le fichier Open project: ase-lab/SoD_Sensor_v2 Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
validateNameSpace ( string name ) : void

Method Details

Emit() public méthode

public Emit ( string eventName, dynamic payload, Action callBack = null ) : void
eventName string
payload dynamic
callBack Action
Résultat void

EndPointClient() public méthode

public EndPointClient ( IClient client, string endPoint ) : System
client IClient
endPoint string
Résultat System

On() public méthode

public On ( string eventName, Action action ) : void
eventName string
action Action
Résultat void

Send() public méthode

public Send ( Messages msg ) : void
msg Messages
Résultat void