public interface DynamicBroadcastConfig
| Modifier and Type | Field and Description |
|---|---|
static String |
ID
The unique id of this client.
|
static String |
LISTENER
The listener address, for example the IP address and port.
|
| Modifier and Type | Method and Description |
|---|---|
String |
connect(Map<String,String> clientInfo)
Announce a new client to others.
|
void |
disconnect(String id)
Sign off.
|
List<Map<String,String>> |
getClientInfo()
Get the client info of all connected clients.
|
String |
getConfig()
Get the global configuration data that is not associated to a specific client.
|
static final String ID
static final String LISTENER
String getConfig()
List<Map<String,String>> getClientInfo()
String connect(Map<String,String> clientInfo)
clientInfo - the client infovoid disconnect(String id)
id - the unique idCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.