fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute Class Reference

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. More...

Public Member Functions

long getMaxMessageSize ()
 Gets the maximum message size in bytes. More...
 
 MaxMessageSizeAttribute (long maxMessageSize)
 Initializes a new instance of the fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute class. More...
 
- Public Member Functions inherited from fm.liveswitch.sdp.Attribute
fm.liveswitch.sdp.AttributeType getAttributeType ()
 Gets this Attribute's Type. More...
 
fm.liveswitch.sdp.AttributeCategory getMultiplexingCategory ()
 Gets the Multiplexing Category of this Attribute. More...
 
void setAttributeType (fm.liveswitch.sdp.AttributeType value)
 Sets this Attribute's Type. More...
 
String toString ()
 Converts this instance to a string. More...
 

Static Public Member Functions

static fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute class. More...
 
- Static Public Member Functions inherited from fm.liveswitch.sdp.Attribute
static fm.liveswitch.sdp.Attribute createAttribute (String name, String value)
 Creates an attribute. More...
 
static String getTypeName (@SuppressWarnings("rawtypes") Class type)
 Gets the name of the attribute type. More...
 
static boolean isMediaLevel (@SuppressWarnings("rawtypes") Class type)
 Determines whether the type applies to media streams. More...
 
static boolean isSessionLevel (@SuppressWarnings("rawtypes") Class type)
 Determines whether the type applies to sessions. More...
 
static fm.liveswitch.sdp.Attribute parse (String s)
 Creates an fm.liveswitch.sdp.ConnectionData instance from a string. More...
 

Protected Member Functions

String getAttributeValue ()
 Gets the internal value of the attribute. More...
 
- Protected Member Functions inherited from fm.liveswitch.sdp.Attribute
 Attribute ()
 
void setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value)
 Sets the Multiplexing Category of this Attribute. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ MaxMessageSizeAttribute()

fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute.MaxMessageSizeAttribute ( long  maxMessageSize)

Initializes a new instance of the fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute class.

Parameters
maxMessageSizeThe maximum message size in bytes.

Member Function Documentation

◆ fromAttributeValue()

static fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute.fromAttributeValue ( String  value)
static

Initializes a new instance of the fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue()

String fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute.getAttributeValue ( )
protected

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getMaxMessageSize()

long fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute.getMaxMessageSize ( )

Gets the maximum message size in bytes.