Data channel report. More...
Instance Methods | |
(FMLiveSwitchNullableLong *) | - bytesReceived |
Gets the number of bytes received on this data channel. More... | |
(FMLiveSwitchNullableLong *) | - bytesSent |
Gets the number of bytes sent on this data channel. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchDataChannelReport class. More... | |
(FMLiveSwitchNullableLong *) | - messagesReceived |
Gets the number of messages received on this data channel. More... | |
(FMLiveSwitchNullableLong *) | - messagesSent |
Gets the number of messages sent on this data channel. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setBytesReceived: |
Sets the number of bytes received on this data channel. More... | |
(void) | - setBytesSent: |
Sets the number of bytes sent on this data channel. More... | |
(void) | - setMessagesReceived: |
Sets the number of messages received on this data channel. More... | |
(void) | - setMessagesSent: |
Sets the number of messages sent on this data channel. More... | |
(NSString *) | - toJson |
Serializes this instance to Json. More... | |
Class Methods | |
(FMLiveSwitchDataChannelReport *) | + dataChannelReport |
Initializes a new instance of the FMLiveSwitchDataChannelReport class. More... | |
(FMLiveSwitchDataChannelReport *) | + fromJsonWithDataChannelReportJson: |
Deserializes Json to a DataChannelReport. More... | |
(NSString *) | + toJsonWithDataChannelReport: |
Serializes an instance to Json. More... | |
![]() | |
(NSMutableArray *) | + processArrayWithNewValues:oldValues: |
Processes an array for a report. More... | |
(NSMutableArray *) | + processBooleanArrayWithNewValues:oldValues: |
Processes a boolean array for a report. More... | |
(FMLiveSwitchNullableBool *) | + processBooleanWithNewValue:oldValue: |
Processes a boolean for a report. More... | |
(FMLiveSwitchNullableDouble *) | + processDoubleWithNewValue:oldValue: |
Processes a double for a report. More... | |
(NSMutableArray *) | + processFloatArrayWithNewValues:oldValues: |
Processes a float array for a report. More... | |
(FMLiveSwitchNullableFloat *) | + processFloatWithNewValue:oldValue: |
Processes a float for a report. More... | |
(NSMutableArray *) | + processIntegerArrayWithNewValues:oldValues: |
Processes a integer array for a report. More... | |
(FMLiveSwitchNullableInt *) | + processIntegerWithNewValue:oldValue: |
Processes an integer for a report. More... | |
(NSMutableArray *) | + processLongArrayWithNewValues:oldValues: |
Processes a long array for a report. More... | |
(FMLiveSwitchNullableLong *) | + processLongWithNewValue:oldValue: |
Processes a long for a report. More... | |
(NSObject< FMLiveSwitchIEquivalent > *) | + processObjectWithNewValue:oldValue: |
Processes an array for a report. More... | |
(NSMutableArray *) | + processShortArrayWithNewValues:oldValues: |
Processes a short array for a report. More... | |
(FMLiveSwitchNullableShort *) | + processShortWithNewValue:oldValue: |
Processes a short for a report. More... | |
(NSString *) | + processStringWithNewValue:oldValue: |
Processes a string for a report. More... | |
(FMLiveSwitchReport *) | + report |
Data channel report.
- (FMLiveSwitchNullableLong*) bytesReceived |
Gets the number of bytes received on this data channel.
- (FMLiveSwitchNullableLong*) bytesSent |
Gets the number of bytes sent on this data channel.
+ (FMLiveSwitchDataChannelReport*) dataChannelReport |
Initializes a new instance of the FMLiveSwitchDataChannelReport class.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchReport.
+ (FMLiveSwitchDataChannelReport*) fromJsonWithDataChannelReportJson: | (NSString *) | dataChannelReportJson |
Deserializes Json to a DataChannelReport.
dataChannelReportJson | The serialized Json. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchDataChannelReport class.
Implements FMLiveSwitchReport.
- (FMLiveSwitchNullableLong*) messagesReceived |
Gets the number of messages received on this data channel.
- (FMLiveSwitchNullableLong*) messagesSent |
Gets the number of messages sent on this data channel.
- (void) setBytesReceived: | (FMLiveSwitchNullableLong *) | value |
Sets the number of bytes received on this data channel.
- (void) setBytesSent: | (FMLiveSwitchNullableLong *) | value |
Sets the number of bytes sent on this data channel.
- (void) setMessagesReceived: | (FMLiveSwitchNullableLong *) | value |
Sets the number of messages received on this data channel.
- (void) setMessagesSent: | (FMLiveSwitchNullableLong *) | value |
Sets the number of messages sent on this data channel.
- (NSString*) toJson |
Serializes this instance to Json.
+ (NSString*) toJsonWithDataChannelReport: | (FMLiveSwitchDataChannelReport *) | dataChannelReport |
Serializes an instance to Json.
dataChannelReport | The instance to serialize. |