C# Class Netronics.Http.SocketIO.Client

Inheritance: ISocketIO, IChannelHandler
Mostrar archivo Open project: shlee322/Netronics Class Usage Examples

Public Methods

Method Description
Client ( HttpContact contact, ISocketIO socketIO ) : System
Connected ( IReceiveContext context ) : void
Disconnected ( IReceiveContext context ) : void
Emit ( string id, dynamic o ) : void
GetChannel ( ) : IChannel
MessageReceive ( IReceiveContext context ) : void
On ( string id, Action action ) : void
ToString ( ) : string

Private Methods

Method Description
Send ( string type, string id, string data = null ) : void

Method Details

Client() public method

public Client ( HttpContact contact, ISocketIO socketIO ) : System
contact Netronics.Http.HttpContact
socketIO ISocketIO
return System

Connected() public method

public Connected ( IReceiveContext context ) : void
context IReceiveContext
return void

Disconnected() public method

public Disconnected ( IReceiveContext context ) : void
context IReceiveContext
return void

Emit() public method

public Emit ( string id, dynamic o ) : void
id string
o dynamic
return void

GetChannel() public method

public GetChannel ( ) : IChannel
return IChannel

MessageReceive() public method

public MessageReceive ( IReceiveContext context ) : void
context IReceiveContext
return void

On() public method

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

ToString() public method

public ToString ( ) : string
return string