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
Namespace: FM.LiveSwitch.Sdp.Sctp
Assembly: FM.LiveSwitch.dll
Syntax
public class MaxMessageSizeAttribute : Attribute
Constructors
MaxMessageSizeAttribute(Int64)
Initializes a new instance of the Max
Declaration
public MaxMessageSizeAttribute(long maxMessageSize)
Parameters
Type | Name | Description |
---|---|---|
System. |
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. |
Methods
FromAttributeValue(String)
Initializes a new instance of the Max
Declaration
public static MaxMessageSizeAttribute FromAttributeValue(string value)
Parameters
Type | Name | Description |
---|---|---|
System. |
value | The attribute value. |
Returns
Type | Description |
---|---|
Max |
GetAttributeValue()
Gets the internal value of the attribute.
Declaration
protected override string GetAttributeValue()
Returns
Type | Description |
---|---|
System. |