Transport report. More...
Instance Methods | |
(FMLiveSwitchNullableLong *) | - bytesReceived |
Gets the number of bytes received on this transport. More... | |
(FMLiveSwitchNullableLong *) | - bytesSent |
Gets the number of bytes sent on this transport. More... | |
(void) | - deserializePropertiesWithKey:valueJson: |
Deserializes the properties. More... | |
(instancetype) | - init |
Initializes a new instance of the FMLiveSwitchTransportReport class. More... | |
(void) | - serializePropertiesWithJsonObject: |
Serializes the properties. More... | |
(void) | - setBytesReceived: |
Sets the number of bytes received on this transport. More... | |
(void) | - setBytesSent: |
Sets the number of bytes sent on this transport. More... | |
(NSString *) | - toJson |
Serializes this instance to Json. More... | |
Class Methods | |
(FMLiveSwitchTransportReport *) | + fromJsonWithTransportReportJson: |
Deserializes Json to a TransportReport. More... | |
(NSString *) | + toJsonWithTransportReport: |
Serializes an instance to Json. More... | |
(FMLiveSwitchTransportReport *) | + transportReport |
Initializes a new instance of the FMLiveSwitchTransportReport class. More... | |
Class Methods inherited from FMLiveSwitchReport | |
(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 |
Transport report.
- (FMLiveSwitchNullableLong*) bytesReceived |
Gets the number of bytes received on this transport.
- (FMLiveSwitchNullableLong*) bytesSent |
Gets the number of bytes sent on this transport.
Deserializes the properties.
key | The key. |
valueJson | The value in JSON format. |
Implements FMLiveSwitchReport.
+ (FMLiveSwitchTransportReport*) fromJsonWithTransportReportJson: | (NSString *) | transportReportJson |
Deserializes Json to a TransportReport.
transportReportJson | The serialized Json. |
- (instancetype) init |
Initializes a new instance of the FMLiveSwitchTransportReport class.
Implements FMLiveSwitchReport.
- (void) setBytesReceived: | (FMLiveSwitchNullableLong *) | value |
Sets the number of bytes received on this transport.
- (void) setBytesSent: | (FMLiveSwitchNullableLong *) | value |
Sets the number of bytes sent on this transport.
- (NSString*) toJson |
Serializes this instance to Json.
+ (NSString*) toJsonWithTransportReport: | (FMLiveSwitchTransportReport *) | transportReport |
Serializes an instance to Json.
transportReport | The instance to serialize. |
+ (FMLiveSwitchTransportReport*) transportReport |
Initializes a new instance of the FMLiveSwitchTransportReport class.