Class MaxMessageSizeAttribute
The attribute can be associated with an m- line to indicate the maximum message size (indicated in bytes) that an SCTP endpoint is willing to receive on the SCTP association associated with the m- line. Different attribute values can be used in each direction.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FM.LiveSwitch.Sdp.Sctp
Assembly: FM.LiveSwitch.dll
Syntax
public class MaxMessageSizeAttribute : Attribute
Constructors
MaxMessageSizeAttribute(Int64)
Initializes a new instance of the MaxMessageSizeAttribute class.
Declaration
public MaxMessageSizeAttribute(long maxMessageSize)
Parameters
Type | Name | Description |
---|---|---|
System.Int64 | maxMessageSize | The maximum message size in bytes. |
Properties
MaxMessageSize
Gets or sets the maximum message size in bytes.
Declaration
public long MaxMessageSize { get; }
Property Value
Type | Description |
---|---|
System.Int64 |
Methods
FromAttributeValue(String)
Initializes a new instance of the MaxMessageSizeAttribute class.
Declaration
public static MaxMessageSizeAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | The attribute value. |
Returns
Type | Description |
---|---|
MaxMessageSizeAttribute |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System.String |