C# Class SocketIOClient.Eventing.RegistrationManager

Inheritance: IDisposable
Exibir arquivo Open project: ase-lab/SoD_Sensor_v2 Class Usage Examples

Public Methods

Method Description
AddCallBack ( IMessage message ) : void
AddCallBack ( int ackId, Action callback ) : void
AddOnEvent ( string eventName, Action callback ) : void
AddOnEvent ( string eventName, string endPoint, Action callback ) : void
Dispose ( ) : void
InvokeCallBack ( int ackId, JsonEncodedEventMessage value ) : void
InvokeCallBack ( int ackId, string value ) : void
InvokeOnEvent ( IMessage value ) : bool

If eventName is found, Executes Action delegateT asynchronously

RegistrationManager ( ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Method Details

AddCallBack() public method

public AddCallBack ( IMessage message ) : void
message IMessage
return void

AddCallBack() public method

public AddCallBack ( int ackId, Action callback ) : void
ackId int
callback Action
return void

AddOnEvent() public method

public AddOnEvent ( string eventName, Action callback ) : void
eventName string
callback Action
return void

AddOnEvent() public method

public AddOnEvent ( string eventName, string endPoint, Action callback ) : void
eventName string
endPoint string
callback Action
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

InvokeCallBack() public method

public InvokeCallBack ( int ackId, JsonEncodedEventMessage value ) : void
ackId int
value JsonEncodedEventMessage
return void

InvokeCallBack() public method

public InvokeCallBack ( int ackId, string value ) : void
ackId int
value string
return void

InvokeOnEvent() public method

If eventName is found, Executes Action delegateT asynchronously
public InvokeOnEvent ( IMessage value ) : bool
value IMessage
return bool

RegistrationManager() public method

public RegistrationManager ( ) : System
return System