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(io.cettia.platform.action.Action<ServerSocket> action)
Executes the given action retrieving every socket in this server.
|
Server |
DefaultServer.all(io.cettia.platform.action.Action<ServerSocket> action) |
Server |
ClusteredServer.all(io.cettia.platform.action.Action<ServerSocket> action) |
Server |
Server.byTag(String[] names,
io.cettia.platform.action.Action<ServerSocket> action)
Executes the given action retrieving the socket tagged with the given
tags in this server.
|
Server |
DefaultServer.byTag(String[] names,
io.cettia.platform.action.Action<ServerSocket> action) |
Server |
ClusteredServer.byTag(String[] names,
io.cettia.platform.action.Action<ServerSocket> action) |
Server |
Server.byTag(String name,
io.cettia.platform.action.Action<ServerSocket> action)
Executes the given action retrieving the socket tagged with the given tag
in this server.
|
Server |
DefaultServer.byTag(String name,
io.cettia.platform.action.Action<ServerSocket> action) |
Server |
ClusteredServer.onpublish(io.cettia.platform.action.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(io.cettia.platform.action.Action<ServerSocket> action)
Registers an action to be called when the socket has been opened in this
server.
|
Server |
DefaultServer.onsocket(io.cettia.platform.action.Action<ServerSocket> action) |
Copyright 2015, The Cettia Project