Search Results for

    Show / Hide Table of Contents

    Class XorPeerAddressAttribute

    The XOR-PEER-ADDRESS specifies the address and port of the peer as seen from the TURN server.

    Inheritance
    System.Object
    Attribute
    XorPeerAddressAttribute
    Inherited Members
    Attribute.AlternateServerType
    Attribute.TransactionTransmitCounterType
    Attribute.ErrorCodeType
    Attribute.FingerprintType
    Attribute.MappedAddressType
    Attribute.MessageIntegrityType
    Attribute.NonceType
    Attribute.RealmType
    Attribute.SoftwareType
    Attribute.UnknownAttributesType
    Attribute.UsernameType
    Attribute.XorMappedAddressType
    Attribute.ControlledType
    Attribute.ControllingType
    Attribute.PriorityType
    Attribute.UseCandidateType
    Attribute.ChannelNumberType
    Attribute.ConnectionIdType
    Attribute.DataType
    Attribute.DontFragmentType
    Attribute.EvenPortType
    Attribute.LifetimeType
    Attribute.RequestedTransportType
    Attribute.ReservationTokenType
    Attribute.XorPeerAddressType
    Attribute.XorRelayedAddressType
    Attribute.RequestedAddressFamilyType
    Attribute.ReadAddressType(DataBuffer, Int32)
    Attribute.ReadPort(DataBuffer, Int32)
    Attribute.ReadXorPort(DataBuffer, Int32, DataBuffer)
    Attribute.ReadIPAddress(DataBuffer, Int32, AddressType)
    Attribute.ReadXorIPAddress(DataBuffer, Int32, AddressType, DataBuffer)
    Attribute.WriteAddressType(DataBuffer, Int32, AddressType)
    Attribute.WritePort(DataBuffer, Int32, Int32)
    Attribute.WriteXorPort(DataBuffer, Int32, Int32, DataBuffer)
    Attribute.WriteIPAddress(DataBuffer, Int32, AddressType, String)
    Attribute.WriteXorIPAddress(DataBuffer, Int32, AddressType, String, DataBuffer)
    Attribute.GetPaddingLength(Int32)
    Attribute.GetLength()
    Attribute.WriteTo(DataBuffer, Int32)
    Attribute.WriteTo(DataBuffer, Int32, Int32)
    Attribute.ReadFrom(DataBuffer, Int32, DataBuffer, DataBuffer)
    Attribute.ReadFrom(DataBuffer, Int32, Int32, DataBuffer, DataBuffer)
    Attribute.NextLength(DataBuffer, Int32)
    Namespace: FM.LiveSwitch.Stun.Turn
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class XorPeerAddressAttribute : Attribute

    Constructors

    XorPeerAddressAttribute(String, Int32, DataBuffer)

    Initializes a new instance of the XorPeerAddressAttribute class.

    Declaration
    public XorPeerAddressAttribute(string ipAddress, int port, DataBuffer transactionId)
    Parameters
    Type Name Description
    System.String ipAddress

    The IP address.

    System.Int32 port

    The port.

    DataBuffer transactionId

    The transaction ID.

    Properties

    IPAddress

    Gets or sets the IP address.

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

    Port

    Gets or sets the port.

    Declaration
    public int Port { get; set; }
    Property Value
    Type Description
    System.Int32

    TransactionId

    Gets or sets the transaction ID.

    Declaration
    public DataBuffer TransactionId { get; }
    Property Value
    Type Description
    DataBuffer

    TypeValue

    Gets the type value.

    Declaration
    public override int TypeValue { get; }
    Property Value
    Type Description
    System.Int32
    Overrides
    Attribute.TypeValue

    Methods

    GetValueLength()

    Gets the length of the value.

    Declaration
    protected override int GetValueLength()
    Returns
    Type Description
    System.Int32
    Overrides
    Attribute.GetValueLength()

    ReadValueFrom(DataBuffer, Int32, DataBuffer)

    Initializes a new instance of the XorPeerAddressAttribute class.

    Declaration
    public static XorPeerAddressAttribute ReadValueFrom(DataBuffer buffer, int offset, DataBuffer transactionId)
    Parameters
    Type Name Description
    DataBuffer buffer

    The buffer.

    System.Int32 offset

    The offset.

    DataBuffer transactionId

    The transaction ID.

    Returns
    Type Description
    XorPeerAddressAttribute

    ToString()

    Returns a string that represents this instance.

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    A string that represents this instance.

    WriteValueTo(DataBuffer, Int32)

    Writes the value to.

    Declaration
    protected override void WriteValueTo(DataBuffer buffer, int offset)
    Parameters
    Type Name Description
    DataBuffer buffer

    The buffer.

    System.Int32 offset

    The offset.

    Overrides
    Attribute.WriteValueTo(DataBuffer, Int32)
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0