fm.liveswitch.MediaSenderReport Class Reference

Media sender report. More...

Public Member Functions

fm.liveswitch.NullableLong getBytesSent ()
 Gets the number of bytes sent. More...
 
fm.liveswitch.NullableLong getPacketsSent ()
 Gets the number of packets sent. More...
 
fm.liveswitch.NullableInteger getRoundTripTime ()
 Gets the round-trip-time in milliseconds. More...
 
 MediaSenderReport ()
 Initializes a new instance of the fm.liveswitch.MediaSenderReport class. More...
 
void setBytesSent (fm.liveswitch.NullableLong value)
 Sets the number of bytes sent. More...
 
void setPacketsSent (fm.liveswitch.NullableLong value)
 Sets the number of packets sent. 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.MediaSenderReport fromJson (String mediaSenderReportJson)
 Deserializes an instance from JSON. More...
 
static fm.liveswitch.MediaSenderReport[] fromJsonArray (String mediaSenderReportsJson)
 Deserializes an array from JSON. More...
 
static String toJson (fm.liveswitch.MediaSenderReport mediaSenderReport)
 Serializes an instance to JSON. More...
 
static String toJsonArray (fm.liveswitch.MediaSenderReport[] mediaSenderReports)
 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 sender report.

Constructor & Destructor Documentation

◆ MediaSenderReport()

fm.liveswitch.MediaSenderReport.MediaSenderReport ( )

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

Member Function Documentation

◆ deserializeProperties()

void fm.liveswitch.MediaSenderReport.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.MediaSenderReport fm.liveswitch.MediaSenderReport.fromJson ( String  mediaSenderReportJson)
static

Deserializes an instance from JSON.

Parameters
mediaSenderReportJsonThe serialized JSON.
Returns
The deserialized instance.

◆ fromJsonArray()

static fm.liveswitch.MediaSenderReport [] fm.liveswitch.MediaSenderReport.fromJsonArray ( String  mediaSenderReportsJson)
static

Deserializes an array from JSON.

Parameters
mediaSenderReportsJsonThe serialized JSON.
Returns
The deserialized array.

◆ getBytesSent()

fm.liveswitch.NullableLong fm.liveswitch.MediaSenderReport.getBytesSent ( )

Gets the number of bytes sent.

◆ getPacketsSent()

fm.liveswitch.NullableLong fm.liveswitch.MediaSenderReport.getPacketsSent ( )

Gets the number of packets sent.

◆ getRoundTripTime()

fm.liveswitch.NullableInteger fm.liveswitch.MediaSenderReport.getRoundTripTime ( )

Gets the round-trip-time in milliseconds.

◆ serializeProperties()

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.MediaComponentReport.

◆ setBytesSent()

void fm.liveswitch.MediaSenderReport.setBytesSent ( fm.liveswitch.NullableLong  value)

Sets the number of bytes sent.

◆ setPacketsSent()

void fm.liveswitch.MediaSenderReport.setPacketsSent ( fm.liveswitch.NullableLong  value)

Sets the number of packets sent.

◆ setRoundTripTime()

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

Sets the round-trip-time in milliseconds.

◆ toJson() [1/2]

String fm.liveswitch.MediaSenderReport.toJson ( )

Serializes this instance to JSON.

◆ toJson() [2/2]

static String fm.liveswitch.MediaSenderReport.toJson ( fm.liveswitch.MediaSenderReport  mediaSenderReport)
static

Serializes an instance to JSON.

Parameters
mediaSenderReportThe instance to serialize.
Returns
The serialized JSON.

◆ toJsonArray()

static String fm.liveswitch.MediaSenderReport.toJsonArray ( fm.liveswitch.MediaSenderReport[]  mediaSenderReports)
static

Serializes an array to JSON.

Parameters
mediaSenderReportsThe array to serialize.
Returns
The serialized JSON.