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(org.atmosphere.vibe.platform.Action<ServerSocket> 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(org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Server |
ClusteredServer.all(org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Server |
Server.byId(String id,
org.atmosphere.vibe.platform.Action<ServerSocket> 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,
org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Server |
ClusteredServer.byId(String id,
org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Server |
Server.byTag(String[] names,
org.atmosphere.vibe.platform.Action<ServerSocket> 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,
org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Server |
ClusteredServer.byTag(String[] names,
org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Server |
Server.byTag(String name,
org.atmosphere.vibe.platform.Action<ServerSocket> 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,
org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Server |
ClusteredServer.publishAction(org.atmosphere.vibe.platform.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(org.atmosphere.vibe.platform.Action<ServerSocket> action)
Registers an action to be called when the socket has been opened in this
server regardless of clustering.
|
Server |
DefaultServer.socketAction(org.atmosphere.vibe.platform.Action<ServerSocket> action) |
Copyright 2014, The Vibe Project