fm.liveswitch.CandidatePairReport Class Reference

Candidate pair report. More...

Public Member Functions

 CandidatePairReport ()
 Initializes a new instance of the fm.liveswitch.CandidatePairReport class. More...
 
fm.liveswitch.NullableLong getBytesReceived ()
 Gets the number of candidate pair bytes received. More...
 
fm.liveswitch.NullableLong getBytesSent ()
 Gets the number of candidate pair bytes sent. More...
 
fm.liveswitch.NullableLong getConsentRequestsReceived ()
 Gets the number of candidate pair consent requests received. More...
 
fm.liveswitch.NullableLong getConsentRequestsSent ()
 Gets the number of candidate pair consent requests sent. More...
 
fm.liveswitch.NullableLong getConsentResponsesReceived ()
 Gets the number of candidate pair consent responses received. More...
 
fm.liveswitch.NullableLong getConsentResponsesSent ()
 Gets the number of candidate pair consent responses sent. More...
 
fm.liveswitch.NullableInteger getCurrentRoundTripTime ()
 Gets the candidate pair current round trip time in milliseconds. More...
 
fm.liveswitch.NullableLong getRequestsReceived ()
 Gets the number of candidate pair requests received. More...
 
fm.liveswitch.NullableLong getRequestsSent ()
 Gets the number of candidate pair requests sent. More...
 
fm.liveswitch.NullableLong getResponsesReceived ()
 Gets the number of candidate pair responses received. More...
 
fm.liveswitch.NullableLong getResponsesSent ()
 Gets the number of candidate pair responses sent. More...
 
fm.liveswitch.NullableInteger getTotalRoundTripTime ()
 Gets the candidate pair total round trip time in milliseconds. More...
 
void setBytesReceived (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair bytes received. More...
 
void setBytesSent (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair bytes sent. More...
 
void setConsentRequestsReceived (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair consent requests received. More...
 
void setConsentRequestsSent (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair consent requests sent. More...
 
void setConsentResponsesReceived (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair consent responses received. More...
 
void setConsentResponsesSent (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair consent responses sent. More...
 
void setCurrentRoundTripTime (fm.liveswitch.NullableInteger value)
 Sets the candidate pair current round trip time in milliseconds. More...
 
void setRequestsReceived (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair requests received. More...
 
void setRequestsSent (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair requests sent. More...
 
void setResponsesReceived (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair responses received. More...
 
void setResponsesSent (fm.liveswitch.NullableLong value)
 Sets the number of candidate pair responses sent. More...
 
void setTotalRoundTripTime (fm.liveswitch.NullableInteger value)
 Sets the candidate pair total round trip time in milliseconds. More...
 
String toJson ()
 Serializes this instance to JSON. More...
 

Static Public Member Functions

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

Candidate pair report.

Constructor & Destructor Documentation

◆ CandidatePairReport()

fm.liveswitch.CandidatePairReport.CandidatePairReport ( )

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

Member Function Documentation

◆ deserializeProperties()

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

Deserializes an instance from JSON.

Parameters
instanceJsonThe instance JSON.
Returns
The deserialized instance.

◆ fromJsonArray()

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

Derializes an array from JSON.

Parameters
arrayJsonThe array JSON.
Returns
The deserialized array.

◆ getBytesReceived()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getBytesReceived ( )

Gets the number of candidate pair bytes received.

◆ getBytesSent()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getBytesSent ( )

Gets the number of candidate pair bytes sent.

◆ getConsentRequestsReceived()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getConsentRequestsReceived ( )

Gets the number of candidate pair consent requests received.

◆ getConsentRequestsSent()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getConsentRequestsSent ( )

Gets the number of candidate pair consent requests sent.

◆ getConsentResponsesReceived()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getConsentResponsesReceived ( )

Gets the number of candidate pair consent responses received.

◆ getConsentResponsesSent()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getConsentResponsesSent ( )

Gets the number of candidate pair consent responses sent.

◆ getCurrentRoundTripTime()

fm.liveswitch.NullableInteger fm.liveswitch.CandidatePairReport.getCurrentRoundTripTime ( )

Gets the candidate pair current round trip time in milliseconds.

◆ getRequestsReceived()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getRequestsReceived ( )

Gets the number of candidate pair requests received.

◆ getRequestsSent()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getRequestsSent ( )

Gets the number of candidate pair requests sent.

◆ getResponsesReceived()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getResponsesReceived ( )

Gets the number of candidate pair responses received.

◆ getResponsesSent()

fm.liveswitch.NullableLong fm.liveswitch.CandidatePairReport.getResponsesSent ( )

Gets the number of candidate pair responses sent.

◆ getTotalRoundTripTime()

fm.liveswitch.NullableInteger fm.liveswitch.CandidatePairReport.getTotalRoundTripTime ( )

Gets the candidate pair total round trip time in milliseconds.

◆ serializeProperties()

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

Serializes the properties.

Parameters
jsonObjectThe JSON object.

Reimplemented from fm.liveswitch.Report.

◆ setBytesReceived()

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

Sets the number of candidate pair bytes received.

◆ setBytesSent()

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

Sets the number of candidate pair bytes sent.

◆ setConsentRequestsReceived()

void fm.liveswitch.CandidatePairReport.setConsentRequestsReceived ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair consent requests received.

◆ setConsentRequestsSent()

void fm.liveswitch.CandidatePairReport.setConsentRequestsSent ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair consent requests sent.

◆ setConsentResponsesReceived()

void fm.liveswitch.CandidatePairReport.setConsentResponsesReceived ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair consent responses received.

◆ setConsentResponsesSent()

void fm.liveswitch.CandidatePairReport.setConsentResponsesSent ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair consent responses sent.

◆ setCurrentRoundTripTime()

void fm.liveswitch.CandidatePairReport.setCurrentRoundTripTime ( fm.liveswitch.NullableInteger  value)

Sets the candidate pair current round trip time in milliseconds.

◆ setRequestsReceived()

void fm.liveswitch.CandidatePairReport.setRequestsReceived ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair requests received.

◆ setRequestsSent()

void fm.liveswitch.CandidatePairReport.setRequestsSent ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair requests sent.

◆ setResponsesReceived()

void fm.liveswitch.CandidatePairReport.setResponsesReceived ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair responses received.

◆ setResponsesSent()

void fm.liveswitch.CandidatePairReport.setResponsesSent ( fm.liveswitch.NullableLong  value)

Sets the number of candidate pair responses sent.

◆ setTotalRoundTripTime()

void fm.liveswitch.CandidatePairReport.setTotalRoundTripTime ( fm.liveswitch.NullableInteger  value)

Sets the candidate pair total round trip time in milliseconds.

◆ toJson() [1/2]

String fm.liveswitch.CandidatePairReport.toJson ( )

Serializes this instance to JSON.

◆ toJson() [2/2]

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

Serializes an instance to JSON.

Parameters
instanceThe instance.
Returns
The serialized instance JSON.

◆ toJsonArray()

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

Serializes an array to JSON.

Parameters
arrayThe array.
Returns
The serialized array JSON.