public interface SocketIONamespace extends SocketIOEmitter
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_NAME
Name of the default namespace.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,SocketIOSocket> |
getConnected()
Returns a map of all connected sockets.
|
java.lang.String |
getName()
Returns the name of this namespace.
|
SocketIOSocket |
getSocket(java.lang.String id)
Returns the socket with the given id or
null if it does not exist. |
emit, emit, to
static final java.lang.String DEFAULT_NAME
java.lang.String getName()
java.util.Map<java.lang.String,SocketIOSocket> getConnected()
SocketIOSocket getSocket(java.lang.String id)
null
if it does not exist.id
- the socket id.null
."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"