fm.liveswitch.MediaReceiverReport Class Reference

Media receiver report. More...

Public Member Functions

fm.liveswitch.NullableLong getBytesReceived ()
 Gets the number of bytes received. More...
 
fm.liveswitch.NullableLong getJitter ()
 Gets the jitter in milliseconds. More...
 
fm.liveswitch.NullableLong getPacketsDiscarded ()
 Gets the number of packets discarded. More...
 
fm.liveswitch.NullableLong getPacketsDuplicated ()
 Gets the number of packets duplicated. More...
 
fm.liveswitch.NullableLong getPacketsLost ()
 Gets the number of packets lost. More...
 
fm.liveswitch.NullableLong getPacketsReceived ()
 Gets the number of packets received. More...
 
fm.liveswitch.NullableLong getPacketsRepaired ()
 Gets the number of packets repaired. More...
 
fm.liveswitch.NullableInteger getRoundTripTime ()
 Gets the round-trip-time in milliseconds. More...
 
 MediaReceiverReport ()
 Initializes a new instance of the fm.liveswitch.MediaReceiverReport class. More...
 
void setBytesReceived (fm.liveswitch.NullableLong value)
 Sets the number of bytes received. More...
 
void setJitter (fm.liveswitch.NullableLong value)
 Sets the jitter in milliseconds. More...
 
void setPacketsDiscarded (fm.liveswitch.NullableLong value)
 Sets the number of packets discarded. More...
 
void setPacketsDuplicated (fm.liveswitch.NullableLong value)
 Sets the number of packets duplicated. More...
 
void setPacketsLost (fm.liveswitch.NullableLong value)
 Sets the number of packets lost. More...
 
void setPacketsReceived (fm.liveswitch.NullableLong value)
 Sets the number of packets received. More...
 
void setPacketsRepaired (fm.liveswitch.NullableLong value)
 Sets the number of packets repaired. More...
 
void setRoundTripTime (fm.liveswitch.NullableInteger value)
 Sets the round-trip-time in milliseconds. More...
 
String toJson ()
 Serializes this instance to JSON. More...
 
- Public Member Functions inherited from fm.liveswitch.MediaComponentReport
fm.liveswitch.NullableLong getFirCount ()
 Gets the number of full intra refresh (FIR) messages sent. More...
 
fm.liveswitch.NullableLong getLrrCount ()
 Gets the number of layer refresh request (LRR) messages sent. More...
 
fm.liveswitch.NullableLong getNackCount ()
 Gets the number of negative-acknowledgement (NACK) messages sent. More...
 
fm.liveswitch.NullableLong getPliCount ()
 Gets the number of picture loss indication (PLI) messages sent. More...
 
fm.liveswitch.NullableLong getSliCount ()
 Gets the number of slice loss indication (SLI) messages sent. More...
 
 MediaComponentReport ()
 Initializes a new instance of the fm.liveswitch.MediaComponentReport class. More...
 
void setFirCount (fm.liveswitch.NullableLong value)
 Sets the number of full intra refresh (FIR) messages sent. More...
 
void setLrrCount (fm.liveswitch.NullableLong value)
 Sets the number of layer refresh request (LRR) messages sent. More...
 
void setNackCount (fm.liveswitch.NullableLong value)
 Sets the number of negative-acknowledgement (NACK) messages sent. More...
 
void setPliCount (fm.liveswitch.NullableLong value)
 Sets the number of picture loss indication (PLI) messages sent. More...
 
void setSliCount (fm.liveswitch.NullableLong value)
 Sets the number of slice loss indication (SLI) messages sent. More...
 

Static Public Member Functions

static fm.liveswitch.MediaReceiverReport fromJson (String mediaReceiverReportJson)
 Deserializes an instance from JSON. More...
 
static fm.liveswitch.MediaReceiverReport[] fromJsonArray (String mediaReceiverReportsJson)
 Deserializes an array from JSON. More...
 
static String toJson (fm.liveswitch.MediaReceiverReport mediaReceiverReport)
 Serializes an instance to JSON. More...
 
static String toJsonArray (fm.liveswitch.MediaReceiverReport[] mediaReceiverReports)
 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

Media receiver report.

Constructor & Destructor Documentation

◆ MediaReceiverReport()

fm.liveswitch.MediaReceiverReport.MediaReceiverReport ( )

Initializes a new instance of the fm.liveswitch.MediaReceiverReport class.

Member Function Documentation

◆ deserializeProperties()

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

Deserializes the properties.

Parameters
keyThe key.
valueJsonThe value in JSON format.

Reimplemented from fm.liveswitch.MediaComponentReport.

◆ fromJson()

static fm.liveswitch.MediaReceiverReport fm.liveswitch.MediaReceiverReport.fromJson ( String  mediaReceiverReportJson)
static

Deserializes an instance from JSON.

Parameters
mediaReceiverReportJsonThe serialized JSON.
Returns
The deserialized instance.

◆ fromJsonArray()

static fm.liveswitch.MediaReceiverReport [] fm.liveswitch.MediaReceiverReport.fromJsonArray ( String  mediaReceiverReportsJson)
static

Deserializes an array from JSON.

Parameters
mediaReceiverReportsJsonThe serialized JSON.
Returns
The deserialized array.

◆ getBytesReceived()

fm.liveswitch.NullableLong fm.liveswitch.MediaReceiverReport.getBytesReceived ( )

Gets the number of bytes received.

◆ getJitter()

fm.liveswitch.NullableLong fm.liveswitch.MediaReceiverReport.getJitter ( )

Gets the jitter in milliseconds.

◆ getPacketsDiscarded()

fm.liveswitch.NullableLong fm.liveswitch.MediaReceiverReport.getPacketsDiscarded ( )

Gets the number of packets discarded.

◆ getPacketsDuplicated()

fm.liveswitch.NullableLong fm.liveswitch.MediaReceiverReport.getPacketsDuplicated ( )

Gets the number of packets duplicated.

◆ getPacketsLost()

fm.liveswitch.NullableLong fm.liveswitch.MediaReceiverReport.getPacketsLost ( )

Gets the number of packets lost.

◆ getPacketsReceived()

fm.liveswitch.NullableLong fm.liveswitch.MediaReceiverReport.getPacketsReceived ( )

Gets the number of packets received.

◆ getPacketsRepaired()

fm.liveswitch.NullableLong fm.liveswitch.MediaReceiverReport.getPacketsRepaired ( )

Gets the number of packets repaired.

◆ getRoundTripTime()

fm.liveswitch.NullableInteger fm.liveswitch.MediaReceiverReport.getRoundTripTime ( )

Gets the round-trip-time in milliseconds.

◆ serializeProperties()

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.MediaComponentReport.

◆ setBytesReceived()

void fm.liveswitch.MediaReceiverReport.setBytesReceived ( fm.liveswitch.NullableLong  value)

Sets the number of bytes received.

◆ setJitter()

void fm.liveswitch.MediaReceiverReport.setJitter ( fm.liveswitch.NullableLong  value)

Sets the jitter in milliseconds.

◆ setPacketsDiscarded()

void fm.liveswitch.MediaReceiverReport.setPacketsDiscarded ( fm.liveswitch.NullableLong  value)

Sets the number of packets discarded.

◆ setPacketsDuplicated()

void fm.liveswitch.MediaReceiverReport.setPacketsDuplicated ( fm.liveswitch.NullableLong  value)

Sets the number of packets duplicated.

◆ setPacketsLost()

void fm.liveswitch.MediaReceiverReport.setPacketsLost ( fm.liveswitch.NullableLong  value)

Sets the number of packets lost.

◆ setPacketsReceived()

void fm.liveswitch.MediaReceiverReport.setPacketsReceived ( fm.liveswitch.NullableLong  value)

Sets the number of packets received.

◆ setPacketsRepaired()

void fm.liveswitch.MediaReceiverReport.setPacketsRepaired ( fm.liveswitch.NullableLong  value)

Sets the number of packets repaired.

◆ setRoundTripTime()

void fm.liveswitch.MediaReceiverReport.setRoundTripTime ( fm.liveswitch.NullableInteger  value)

Sets the round-trip-time in milliseconds.

◆ toJson() [1/2]

String fm.liveswitch.MediaReceiverReport.toJson ( )

Serializes this instance to JSON.

◆ toJson() [2/2]

static String fm.liveswitch.MediaReceiverReport.toJson ( fm.liveswitch.MediaReceiverReport  mediaReceiverReport)
static

Serializes an instance to JSON.

Parameters
mediaReceiverReportThe instance to serialize.
Returns
The serialized JSON.

◆ toJsonArray()

static String fm.liveswitch.MediaReceiverReport.toJsonArray ( fm.liveswitch.MediaReceiverReport[]  mediaReceiverReports)
static

Serializes an array to JSON.

Parameters
mediaReceiverReportsThe array to serialize.
Returns
The serialized JSON.