Public Member Functions | |
ClientReport () | |
String | getId () |
Gets the identifier. More... | |
fm.liveswitch.NullableLong | getMessageBytesReceived () |
Gets the number of message bytes received by this client. More... | |
fm.liveswitch.NullableLong | getMessageBytesSent () |
Gets the number of message bytes sent by this client. More... | |
fm.liveswitch.NullableLong | getMessagesReceived () |
Gets the number of messages received by this client. More... | |
fm.liveswitch.NullableLong | getMessagesSent () |
Gets the number of messages sent by this client. More... | |
void | setId (String value) |
Sets the identifier. More... | |
void | setMessageBytesReceived (fm.liveswitch.NullableLong value) |
Sets the number of message bytes received by this client. More... | |
void | setMessageBytesSent (fm.liveswitch.NullableLong value) |
Sets the number of message bytes sent by this client. More... | |
void | setMessagesReceived (fm.liveswitch.NullableLong value) |
Sets the number of messages received by this client. More... | |
void | setMessagesSent (fm.liveswitch.NullableLong value) |
Sets the number of messages sent by this client. More... | |
String | toJson () |
Serializes this instance to Json. More... | |
Static Public Member Functions | |
static fm.liveswitch.ClientReport | fromJson (String instanceJson) |
Deserializes an instance from JSON. More... | |
static fm.liveswitch.ClientReport[] | fromJsonArray (String arrayJson) |
Derializes an array from JSON. More... | |
static String | toJson (fm.liveswitch.ClientReport instance) |
Serializes an instance to JSON. More... | |
static String | toJsonArray (fm.liveswitch.ClientReport[] array) |
Serializes an array to JSON. More... | |
Static Public Member Functions inherited from fm.liveswitch.Report | |
static< T extends fm.liveswitch.IEquivalent< T > T[] | processArray (T[] newValues, T[] oldValues) |
Processes an array for a report. More... | |
static fm.liveswitch.NullableBoolean | processBoolean (boolean newValue, boolean oldValue) |
Processes a boolean for a report. More... | |
static boolean[] | processBooleanArray (boolean[] newValues, boolean[] oldValues) |
Processes a boolean array for a report. More... | |
static fm.liveswitch.NullableDouble | processDouble (double newValue, double oldValue) |
Processes a double for a report. More... | |
static fm.liveswitch.NullableFloat | processFloat (float newValue, float oldValue) |
Processes a float for a report. More... | |
static float[] | processFloatArray (float[] newValues, float[] oldValues) |
Processes a float array for a report. More... | |
static double[] | processFloatArray (double[] newValues, double[] oldValues) |
Processes a double array for a report. More... | |
static fm.liveswitch.NullableInteger | processInteger (int newValue, int oldValue) |
Processes an integer for a report. More... | |
static int[] | processIntegerArray (int[] newValues, int[] oldValues) |
Processes a integer array for a report. More... | |
static fm.liveswitch.NullableLong | processLong (long newValue, long oldValue) |
Processes a long for a report. More... | |
static long[] | processLongArray (long[] newValues, long[] oldValues) |
Processes a long array for a report. More... | |
static< T extends Object &fm.liveswitch.IEquivalent< T > T | processObject (T newValue, T oldValue) |
Processes an array for a report. More... | |
static fm.liveswitch.NullableShort | processShort (short newValue, short oldValue) |
Processes a short for a report. More... | |
static short[] | processShortArray (short[] newValues, short[] oldValues) |
Processes a short array for a report. More... | |
static String | processString (String newValue, String oldValue) |
Processes a string for a report. More... | |
Protected Member Functions | |
void | deserializeProperties (String key, String valueJson) |
Deserializes the properties. More... | |
void | serializeProperties (java.util.HashMap< String, String > jsonObject) |
Serializes the properties. More... | |
Protected Member Functions inherited from fm.liveswitch.Report | |
Report () | |
Client report.
fm.liveswitch.ClientReport.ClientReport | ( | ) |
|
protected |
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Reimplemented from fm.liveswitch.Report.
|
static |
Deserializes an instance from JSON.
instanceJson | The instance JSON. |
|
static |
Derializes an array from JSON.
arrayJson | The array JSON. |
String fm.liveswitch.ClientReport.getId | ( | ) |
Gets the identifier.
fm.liveswitch.NullableLong fm.liveswitch.ClientReport.getMessageBytesReceived | ( | ) |
Gets the number of message bytes received by this client.
fm.liveswitch.NullableLong fm.liveswitch.ClientReport.getMessageBytesSent | ( | ) |
Gets the number of message bytes sent by this client.
fm.liveswitch.NullableLong fm.liveswitch.ClientReport.getMessagesReceived | ( | ) |
Gets the number of messages received by this client.
fm.liveswitch.NullableLong fm.liveswitch.ClientReport.getMessagesSent | ( | ) |
Gets the number of messages sent by this client.
|
protected |
Serializes the properties.
jsonObject | The JSON object. |
Reimplemented from fm.liveswitch.Report.
void fm.liveswitch.ClientReport.setId | ( | String | value | ) |
Sets the identifier.
void fm.liveswitch.ClientReport.setMessageBytesReceived | ( | fm.liveswitch.NullableLong | value | ) |
Sets the number of message bytes received by this client.
void fm.liveswitch.ClientReport.setMessageBytesSent | ( | fm.liveswitch.NullableLong | value | ) |
Sets the number of message bytes sent by this client.
void fm.liveswitch.ClientReport.setMessagesReceived | ( | fm.liveswitch.NullableLong | value | ) |
Sets the number of messages received by this client.
void fm.liveswitch.ClientReport.setMessagesSent | ( | fm.liveswitch.NullableLong | value | ) |
Sets the number of messages sent by this client.
String fm.liveswitch.ClientReport.toJson | ( | ) |
Serializes this instance to Json.
|
static |
Serializes an instance to JSON.
instance | The instance to serialize. |
|
static |
Serializes an array to JSON.
array | The array. |