Package | Description |
---|---|
io.github.flowersinthesand.portal |
Modifier and Type | Class and Description |
---|---|
class |
ClusteredServer
Server implementation for clustering. |
class |
DefaultServer
Default implementation of
Server . |
Modifier and Type | Method and Description |
---|---|
Server |
Server.all(Action<Socket> action)
Executes the given action retrieving all of the socket in this server or
all of the server if it's in a clustered environment .
|
Server |
DefaultServer.all(Action<Socket> action) |
Server |
ClusteredServer.all(Action<Socket> action) |
Server |
Server.byId(String id,
Action<Socket> action)
Executes the given action retrieving the socket of the given id in this
server or all of the server if it's in a clustered environment.
|
Server |
DefaultServer.byId(String id,
Action<Socket> action) |
Server |
ClusteredServer.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 in this server or all of the server if it's in a clustered
environment.
|
Server |
DefaultServer.byTag(String[] names,
Action<Socket> action) |
Server |
ClusteredServer.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 in this server or all of the server if it's in a clustered
environment.
|
Server |
DefaultServer.byTag(String name,
Action<Socket> action) |
Server |
ClusteredServer.publishAction(Action<Map<String,Object>> action)
Attaches an action to be called with a map containing method name and
arguments of socket action when it's called.
|
Server |
Server.socketAction(Action<Socket> action)
Registers an action to be called when the socket has been opened in this
server regardless of clustering.
|
Server |
DefaultServer.socketAction(Action<Socket> action) |
Copyright 2012-2014, Donghwan Kim