fm.liveswitch.ChannelReport Class Reference

Channel report. More...

Public Member Functions

 ChannelReport ()
 
String getId ()
 Gets the identifier. More...
 
fm.liveswitch.NullableLong getMessageBytesReceived ()
 Gets the number of message bytes received on this channel. More...
 
fm.liveswitch.NullableLong getMessageBytesSent ()
 Gets the number of message bytes sent on this channel. More...
 
fm.liveswitch.NullableLong getMessagesReceived ()
 Gets the number of messages received on this channel. More...
 
fm.liveswitch.NullableLong getMessagesSent ()
 Gets the number of messages sent on this channel. More...
 
void setId (String value)
 Sets the identifier. More...
 
void setMessageBytesReceived (fm.liveswitch.NullableLong value)
 Sets the number of message bytes received on this channel. More...
 
void setMessageBytesSent (fm.liveswitch.NullableLong value)
 Sets the number of message bytes sent on this channel. More...
 
void setMessagesReceived (fm.liveswitch.NullableLong value)
 Sets the number of messages received on this channel. More...
 
void setMessagesSent (fm.liveswitch.NullableLong value)
 Sets the number of messages sent on this channel. More...
 
String toJson ()
 Serializes this instance to Json. More...
 

Static Public Member Functions

static fm.liveswitch.ChannelReport fromJson (String instanceJson)
 Deserializes an instance from JSON. More...
 
static fm.liveswitch.ChannelReport[] fromJsonArray (String arrayJson)
 Derializes an array from JSON. More...
 
static String toJson (fm.liveswitch.ChannelReport instance)
 Serializes an instance to JSON. More...
 
static String toJsonArray (fm.liveswitch.ChannelReport[] 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 ()
 

Detailed Description

Channel report.

Constructor & Destructor Documentation

◆ ChannelReport()

fm.liveswitch.ChannelReport.ChannelReport ( )

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.ChannelReport.deserializeProperties ( String  key,
String  valueJson 
)
protected

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented from fm.liveswitch.Report.

◆ fromJson()

static fm.liveswitch.ChannelReport fm.liveswitch.ChannelReport.fromJson ( String  instanceJson)
static

Deserializes an instance from JSON.

Parameters
instanceJsonThe instance JSON.
Returns
The deserialized instance.

◆ fromJsonArray()

static fm.liveswitch.ChannelReport [] fm.liveswitch.ChannelReport.fromJsonArray ( String  arrayJson)
static

Derializes an array from JSON.

Parameters
arrayJsonThe array JSON.
Returns
The deserialized array.

◆ getId()

String fm.liveswitch.ChannelReport.getId ( )

Gets the identifier.

◆ getMessageBytesReceived()

fm.liveswitch.NullableLong fm.liveswitch.ChannelReport.getMessageBytesReceived ( )

Gets the number of message bytes received on this channel.

◆ getMessageBytesSent()

fm.liveswitch.NullableLong fm.liveswitch.ChannelReport.getMessageBytesSent ( )

Gets the number of message bytes sent on this channel.

◆ getMessagesReceived()

fm.liveswitch.NullableLong fm.liveswitch.ChannelReport.getMessagesReceived ( )

Gets the number of messages received on this channel.

◆ getMessagesSent()

fm.liveswitch.NullableLong fm.liveswitch.ChannelReport.getMessagesSent ( )

Gets the number of messages sent on this channel.

◆ serializeProperties()

void fm.liveswitch.ChannelReport.serializeProperties ( java.util.HashMap< String, String >  jsonObject)
protected

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.Report.

◆ setId()

void fm.liveswitch.ChannelReport.setId ( String  value)

Sets the identifier.

◆ setMessageBytesReceived()

void fm.liveswitch.ChannelReport.setMessageBytesReceived ( fm.liveswitch.NullableLong  value)

Sets the number of message bytes received on this channel.

◆ setMessageBytesSent()

void fm.liveswitch.ChannelReport.setMessageBytesSent ( fm.liveswitch.NullableLong  value)

Sets the number of message bytes sent on this channel.

◆ setMessagesReceived()

void fm.liveswitch.ChannelReport.setMessagesReceived ( fm.liveswitch.NullableLong  value)

Sets the number of messages received on this channel.

◆ setMessagesSent()

void fm.liveswitch.ChannelReport.setMessagesSent ( fm.liveswitch.NullableLong  value)

Sets the number of messages sent on this channel.

◆ toJson() [1/2]

String fm.liveswitch.ChannelReport.toJson ( )

Serializes this instance to Json.

◆ toJson() [2/2]

static String fm.liveswitch.ChannelReport.toJson ( fm.liveswitch.ChannelReport  instance)
static

Serializes an instance to JSON.

Parameters
instanceThe instance to serialize.
Returns
The instance JSON.

◆ toJsonArray()

static String fm.liveswitch.ChannelReport.toJsonArray ( fm.liveswitch.ChannelReport[]  array)
static

Serializes an array to JSON.

Parameters
arrayThe array.
Returns
The serialized array JSON.