@ProviderType 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, tostatic final java.lang.String DEFAULT_NAME
@Nonnull java.lang.String getName()
@Nonnull java.util.Map<java.lang.String,SocketIOSocket> getConnected()
@CheckForNull SocketIOSocket getSocket(@Nonnull java.lang.String id)
null if it does not exist.id - the socket id.null.Copyright © 2010 - 2023 Adobe. All Rights Reserved