Search Results for

    Show / Hide Table of Contents

    Class PortAttribute

    The attribute can be associated with an SDP media description (m- line) with a 'UDP/DTLS/SCTP' or a 'TCP/DTLS/SCTP' proto value, in which case the m- line port value indicates the port of the underlying transport-layer protocol (UDP or TCP), on which SCTP is carried, and the 'sctp-port' value indicates the SCTP port.

    Inheritance
    System.Object
    Attribute
    PortAttribute
    Inherited Members
    Attribute.AttributeType
    Attribute.MultiplexingCategory
    Attribute.GetTypeName(Type)
    Attribute.IsSessionLevel(Type)
    Attribute.IsMediaLevel(Type)
    Attribute.CreateAttribute(String, String)
    Attribute.ToString()
    Attribute.Parse(String)
    Namespace: FM.LiveSwitch.Sdp.Sctp
    Assembly: FM.LiveSwitch.dll
    Syntax
    public class PortAttribute : Attribute

    Constructors

    PortAttribute(Int32)

    Initializes a new instance of the PortAttribute class.

    Declaration
    public PortAttribute(int port)
    Parameters
    Type Name Description
    System.Int32 port

    The SCTP port.

    Properties

    Port

    Gets or sets the SCTP port.

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

    Methods

    FromAttributeValue(String)

    Initializes a new instance of the PortAttribute class.

    Declaration
    public static PortAttribute FromAttributeValue(string value)
    Parameters
    Type Name Description
    System.String value

    The attribute value.

    Returns
    Type Description
    PortAttribute

    GetAttributeValue()

    Gets the internal value of the attribute.

    Declaration
    protected override string GetAttributeValue()
    Returns
    Type Description
    System.String
    Overrides
    Attribute.GetAttributeValue()
    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0