Search Results for

    Show / Hide Table of Contents

    Class TransportReport

    Transport report.

    Inheritance
    System.Object
    Report
    TransportReport
    Inherited Members
    Report.ProcessBoolean(Boolean, Boolean)
    Report.ProcessShort(Int16, Int16)
    Report.ProcessInteger(Int32, Int32)
    Report.ProcessLong(Int64, Int64)
    Report.ProcessFloat(Single, Single)
    Report.ProcessDouble(Double, Double)
    Report.ProcessString(String, String)
    Report.ProcessBooleanArray(Boolean[], Boolean[])
    Report.ProcessShortArray(Int16[], Int16[])
    Report.ProcessIntegerArray(Int32[], Int32[])
    Report.ProcessLongArray(Int64[], Int64[])
    Report.ProcessFloatArray(Single[], Single[])
    Report.ProcessFloatArray(Double[], Double[])
    Report.ProcessObject<T>(T, T)
    Report.ProcessArray<T>(T[], T[])
    Namespace: FM.LiveSwitch
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class TransportReport : Report

    Constructors

    TransportReport()

    Initializes a new instance of the TransportReport class.

    Declaration
    public TransportReport()

    Properties

    BytesReceived

    Gets or sets the number of bytes received on this transport.

    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 transport.

    Declaration
    public long? BytesSent { 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
    Report.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes Json to a TransportReport.

    Declaration
    public static TransportReport FromJson(string transportReportJson)
    Parameters
    Type Name Description
    System.String transportReportJson

    The serialized Json.

    Returns
    Type Description
    TransportReport

    The deserialized TransportReport.

    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
    Report.SerializeProperties(Dictionary<String, String>)

    ToJson()

    Serializes this instance to Json.

    Declaration
    public string ToJson()
    Returns
    Type Description
    System.String

    ToJson(TransportReport)

    Serializes an instance to Json.

    Declaration
    public static string ToJson(TransportReport transportReport)
    Parameters
    Type Name Description
    TransportReport transportReport

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0