C# Class SocketIO.Client.Namespace

Show file Open project: joeandaverde/socket.io-csharp-client Class Usage Examples

Public Methods

Method Description
Connect ( ) : void
Disconnect ( ) : void
Emit ( string eventName ) : void
Emit ( string eventName, object args, Action ack ) : void
EmitLocally ( string eventName ) : void
EmitLocally ( string eventName, object data = null, Action ack = null ) : void
On ( string eventName, Action callback ) : Namespace
RemoveListener ( string eventName, Action callback ) : Namespace

Private Methods

Method Description
HandlePacket ( SocketIO.Client.Impl.Packet packet ) : void
Namespace ( string name, SocketIO.Client.SocketIOClient socket ) : System
SendPacket ( SocketIO.Client.Impl.Packet packet ) : void

Method Details

Connect() public method

public Connect ( ) : void
return void

Disconnect() public method

public Disconnect ( ) : void
return void

Emit() public method

public Emit ( string eventName ) : void
eventName string
return void

Emit() public method

public Emit ( string eventName, object args, Action ack ) : void
eventName string
args object
ack Action
return void

EmitLocally() public method

public EmitLocally ( string eventName ) : void
eventName string
return void

EmitLocally() public method

public EmitLocally ( string eventName, object data = null, Action ack = null ) : void
eventName string
data object
ack Action
return void

On() public method

public On ( string eventName, Action callback ) : Namespace
eventName string
callback Action
return Namespace

RemoveListener() public method

public RemoveListener ( string eventName, Action callback ) : Namespace
eventName string
callback Action
return Namespace