| Package | Description | 
|---|---|
| io.github.flowersinthesand.portal | 
| Modifier and Type | Method and Description | 
|---|---|
| Socket | Socket. close()Closes the session. | 
| <T> Socket | Socket. off(String event,
      Action<T> action)Removes a given added event handler for a given event. | 
| <T> Socket | Socket. on(String event,
    Action<T> action)Adds a given event handler for a given event. | 
| Socket | Socket. send(String event)Sends a given event without data. | 
| Socket | Socket. send(String event,
        Object data)Sends a given event with data. | 
| <T> Socket | Socket. send(String event,
        Object data,
        Action<T> reply)Sends a given event with data registering callback. | 
| Modifier and Type | Method and Description | 
|---|---|
| Server | Server. all(Action<Socket> action)Executes the given action retrieving all of the socket in this server. | 
| Server | DefaultServer. all(Action<Socket> action) | 
| Server | Server. byId(String id,
        Action<Socket> action)Executes the given action retrieving the socket of the given id. | 
| Server | DefaultServer. byId(String id,
        Action<Socket> action) | 
| Server | Server. byTag(String[] names,
          Action<Socket> action)Executes the given action retrieving the socket tagged with all of the
 given names. | 
| Server | DefaultServer. byTag(String[] names,
          Action<Socket> action) | 
| Server | Server. byTag(String name,
          Action<Socket> action)Executes the given action retrieving the socket tagged with the given
 name. | 
| Server | DefaultServer. byTag(String name,
          Action<Socket> action) | 
| Server | Server. socketAction(Action<Socket> action)Registers an action to be called when the socket has been opened. | 
| Server | DefaultServer. socketAction(Action<Socket> action) | 
Copyright 2012-2014, Donghwan Kim