public class RCIEvent extends Event
EventsListener| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_DO_COMMAND
RCI do command event.
|
static int |
TYPE_QUERY_DESCRIPTOR
RCI query descriptor event.
|
static int |
TYPE_QUERY_SETTING
RCI query setting event.
|
static int |
TYPE_QUERY_STATE
RCI query state event.
|
static int |
TYPE_RCI_ANSWER
RCI answer event.
|
static int |
TYPE_RCI_ERROR
RCI error event.
|
static int |
TYPE_REBOOT
RCI reboot event.
|
static int |
TYPE_SET_FACTORY_DEFAULTS
RCI set factory defaults event.
|
static int |
TYPE_SET_SETTING
RCI set setting event.
|
static int |
TYPE_SET_STATE
RCI set state event.
|
SEVERITY_DEBUG, SEVERITY_ERROR, SEVERITY_INFO, TAG_DEBUG, TAG_ERROR, TAG_INFO, TYPE_CONNECTION, TYPE_DATA_POINT, TYPE_DATA_PUSH, TYPE_DEVICE_REQUEST, TYPE_FILE_SYSTEM, TYPE_FIRMWARE, TYPE_RCI| Constructor and Description |
|---|
RCIEvent(int rciType)
Class constructor.
|
RCIEvent(int rciType,
java.lang.String data)
Class constructor.
|
RCIEvent(int rciType,
java.lang.String target,
java.lang.String data)
Class constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEventLogString()
Retrieves the event string to be logged.
|
java.lang.String |
getEventTypeTag()
Retrieves the event type tag to be logged.
|
int |
getRCIEventType()
Retrieves the RCI event type.
|
java.lang.String |
toString() |
getEventSeverity, getEventType, setSeveritypublic static final int TYPE_DO_COMMAND
public static final int TYPE_QUERY_DESCRIPTOR
public static final int TYPE_QUERY_SETTING
public static final int TYPE_QUERY_STATE
public static final int TYPE_RCI_ANSWER
public static final int TYPE_RCI_ERROR
public static final int TYPE_REBOOT
public static final int TYPE_SET_FACTORY_DEFAULTS
public static final int TYPE_SET_SETTING
public static final int TYPE_SET_STATE
public RCIEvent(int rciType)
rciType - RCI Event type.TYPE_DO_COMMAND,
TYPE_QUERY_DESCRIPTOR,
TYPE_QUERY_SETTING,
TYPE_QUERY_STATE,
TYPE_RCI_ANSWER,
TYPE_RCI_ERROR,
TYPE_REBOOT,
TYPE_SET_FACTORY_DEFAULTS,
TYPE_SET_SETTING,
TYPE_SET_STATEpublic RCIEvent(int rciType,
java.lang.String data)
rciType - RCI Event type.data - RCI Event data.TYPE_DO_COMMAND,
TYPE_QUERY_DESCRIPTOR,
TYPE_QUERY_SETTING,
TYPE_QUERY_STATE,
TYPE_RCI_ANSWER,
TYPE_RCI_ERROR,
TYPE_REBOOT,
TYPE_SET_FACTORY_DEFAULTS,
TYPE_SET_SETTING,
TYPE_SET_STATEpublic RCIEvent(int rciType,
java.lang.String target,
java.lang.String data)
rciType - RCI Event type.target - RCI Do Command Event target.data - RCI Event data.TYPE_DO_COMMAND,
TYPE_QUERY_DESCRIPTOR,
TYPE_QUERY_SETTING,
TYPE_QUERY_STATE,
TYPE_RCI_ANSWER,
TYPE_RCI_ERROR,
TYPE_REBOOT,
TYPE_SET_FACTORY_DEFAULTS,
TYPE_SET_SETTING,
TYPE_SET_STATEpublic java.lang.String getEventLogString()
EventgetEventLogString in class Eventpublic java.lang.String getEventTypeTag()
EventgetEventTypeTag in class Eventpublic int getRCIEventType()
TYPE_DO_COMMAND,
TYPE_QUERY_DESCRIPTOR,
TYPE_QUERY_SETTING,
TYPE_QUERY_STATE,
TYPE_RCI_ANSWER,
TYPE_RCI_ERROR,
TYPE_REBOOT,
TYPE_SET_FACTORY_DEFAULTS,
TYPE_SET_SETTING,
TYPE_SET_STATE© Copyright 2014 Etherios, Inc. All rights reserved. Etherios, Inc. is a Division of Digi International Inc.