Class DataChannelReport
Data channel report.
Inherited Members
Namespace: FM.LiveSwitch
Assembly: FM.LiveSwitch.dll
Syntax
public class DataChannelReport : Report
Constructors
DataChannelReport()
Initializes a new instance of the DataChannelReport class.
Declaration
public DataChannelReport()
Properties
BytesReceived
Gets or sets the number of bytes received on this data channel.
Declaration
public long? BytesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
BytesSent
Gets or sets the number of bytes sent on this data channel.
Declaration
public long? BytesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MessagesReceived
Gets or sets the number of messages received on this data channel.
Declaration
public long? MessagesReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
MessagesSent
Gets or sets the number of messages sent on this data channel.
Declaration
public long? MessagesSent { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int64> |
Methods
DeserializeProperties(String, String)
Deserializes the properties.
Declaration
protected override void DeserializeProperties(string key, string valueJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | The key. |
System.String | valueJson | The value in JSON format. |
Overrides
FromJson(String)
Deserializes Json to a DataChannelReport.
Declaration
public static DataChannelReport FromJson(string dataChannelReportJson)
Parameters
Type | Name | Description |
---|---|---|
System.String | dataChannelReportJson | The serialized Json. |
Returns
Type | Description |
---|---|
DataChannelReport | The deserialized DataChannelReport. |
SerializeProperties(Dictionary<String, String>)
Serializes the properties.
Declaration
protected override void SerializeProperties(Dictionary<string, string> jsonObject)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<System.String, System.String> | jsonObject | The JSON object. |
Overrides
ToJson()
Serializes this instance to Json.
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
ToJson(DataChannelReport)
Serializes an instance to Json.
Declaration
public static string ToJson(DataChannelReport dataChannelReport)
Parameters
Type | Name | Description |
---|---|---|
DataChannelReport | dataChannelReport | The instance to serialize. |
Returns
Type | Description |
---|---|
System.String | Serialized Json. |