public class NimOnlineStateEvent
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
NimOnlineStateEvent.OnlineStateEventValue |
Modifier and Type | Field and Description |
---|---|
static int |
EVENT_TYPE
Online state event type
|
static int |
MODIFY_EVENT_CONFIG
Edit the online state event configuration: event type=1 and event value=10001.
|
Constructor and Description |
---|
NimOnlineStateEvent() |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.Integer> |
getOnlineClients(Event event)
Get the server configuration nim_config for online state events
{"online":[1,2,3...]}
|
static NimOnlineStateEvent.OnlineStateEventValue |
getOnlineStateEventValue(Event event) |
static boolean |
isOnlineStateEvent(Event event)
Check for online state events
|
public static final int EVENT_TYPE
public static final int MODIFY_EVENT_CONFIG
public static boolean isOnlineStateEvent(Event event)
public static NimOnlineStateEvent.OnlineStateEventValue getOnlineStateEventValue(Event event)
public static java.util.List<java.lang.Integer> getOnlineClients(Event event)
event
-