Search Results for

    Show / Hide Table of Contents

    Class TransportInfo

    Transport Information.

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

    Constructors

    TransportInfo()

    Initializes a new instance of the TransportInfo class.

    Declaration
    public TransportInfo()

    Properties

    ActiveCandidatePairId

    Gets or sets the active candidate pair identifier.

    Declaration
    public string ActiveCandidatePairId { get; set; }
    Property Value
    Type Description
    System.String

    CandidatePairs

    Gets or sets the candidate pairs.

    Declaration
    public CandidatePairInfo[] CandidatePairs { get; set; }
    Property Value
    Type Description
    CandidatePairInfo[]

    LocalCandidates

    Gets or sets the local candidates.

    Declaration
    public CandidateInfo[] LocalCandidates { get; set; }
    Property Value
    Type Description
    CandidateInfo[]

    LocalCertificate

    Gets or sets the local certificate.

    Declaration
    public CertificateInfo LocalCertificate { get; set; }
    Property Value
    Type Description
    CertificateInfo

    RemoteCandidates

    Gets or sets the remote candidates.

    Declaration
    public CandidateInfo[] RemoteCandidates { get; set; }
    Property Value
    Type Description
    CandidateInfo[]

    RemoteCertificate

    Gets or sets the remote certificate.

    Declaration
    public CertificateInfo RemoteCertificate { get; set; }
    Property Value
    Type Description
    CertificateInfo

    Report

    Gets or sets the transport report.

    Declaration
    public TransportReport Report { get; set; }
    Property Value
    Type Description
    TransportReport

    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
    Info.DeserializeProperties(String, String)

    FromJson(String)

    Deserializes Json to a TransportReport.

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

    The serialized Json.

    Returns
    Type Description
    TransportInfo

    The deserialized TransportReport.

    FromJsonArray(String)

    Deserializes an array from JSON.

    Declaration
    public static TransportInfo[] FromJsonArray(string transportInfosJson)
    Parameters
    Type Name Description
    System.String transportInfosJson

    The serialized JSON.

    Returns
    Type Description
    TransportInfo[]

    The deserialized array.

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

    ToJson()

    Serializes this instance to Json.

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

    ToJson(TransportInfo)

    Serializes an instance to Json.

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

    The instance to serialize.

    Returns
    Type Description
    System.String

    Serialized Json.

    ToJsonArray(TransportInfo[])

    Serializes an array to JSON.

    Declaration
    public static string ToJsonArray(TransportInfo[] transportInfos)
    Parameters
    Type Name Description
    TransportInfo[] transportInfos

    The array to serialize.

    Returns
    Type Description
    System.String

    The serialized JSON.

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