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