Package | Description |
---|---|
io.cettia |
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<ServerSocket> action)
Executes the given action retrieving every socket in this server.
|
Server |
DefaultServer.all(Action<ServerSocket> action) |
Server |
ClusteredServer.all(Action<ServerSocket> action) |
Server |
Server.byTag(String[] names,
Action<ServerSocket> action)
Executes the given action retrieving the socket tagged with the given tags in this server.
|
Server |
DefaultServer.byTag(String[] names,
Action<ServerSocket> action) |
Server |
ClusteredServer.byTag(String[] names,
Action<ServerSocket> action) |
Server |
Server.byTag(String name,
Action<ServerSocket> action)
Executes the given action retrieving the socket tagged with the given tag in this server.
|
Server |
DefaultServer.byTag(String name,
Action<ServerSocket> action) |
Server |
ClusteredServer.onpublish(Action<Map<String,Object>> action)
Adds an action to be called with a message to be published to every node in the cluster.
|
Server |
Server.onsocket(Action<ServerSocket> action)
Adds a socket event handler to be called when the socket has been created in this server.
|
Server |
DefaultServer.onsocket(Action<ServerSocket> action) |
Copyright 2015, The Cettia Project