fm.liveswitch.sdp.SetupAttribute Class Reference

The 'setup' attribute indicates which of the end points should initiate the TCP connection establishment (i.e., send the initial TCP SYN). More...

Public Member Functions

String getSetup ()
 Gets which end point should initiate the connection establishment. More...
 
 SetupAttribute (String setup)
 Initializes a new instance of the fm.liveswitch.sdp.SetupAttribute 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.SetupAttribute fromAttributeValue (String value)
 Initializes a new instance of the fm.liveswitch.sdp.SetupAttribute 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 'setup' attribute indicates which of the end points should initiate the TCP connection establishment (i.e., send the initial TCP SYN).

The 'setup' attribute is charset-independent and can be a session-level or a media-level attribute.

Constructor & Destructor Documentation

◆ SetupAttribute()

fm.liveswitch.sdp.SetupAttribute.SetupAttribute ( String  setup)

Initializes a new instance of the fm.liveswitch.sdp.SetupAttribute class.

Parameters
setupWhich end point should initiate the connection establishment. See fm.liveswitch.sdp.SetupAttribute#getSetup for possible values.

Member Function Documentation

◆ fromAttributeValue()

static fm.liveswitch.sdp.SetupAttribute fm.liveswitch.sdp.SetupAttribute.fromAttributeValue ( String  value)
static

Initializes a new instance of the fm.liveswitch.sdp.SetupAttribute class.

Parameters
valueThe attribute value.

◆ getAttributeValue()

String fm.liveswitch.sdp.SetupAttribute.getAttributeValue ( )
protected

Gets the internal value of the attribute.

Reimplemented from fm.liveswitch.sdp.Attribute.

◆ getSetup()

String fm.liveswitch.sdp.SetupAttribute.getSetup ( )

Gets which end point should initiate the connection establishment.

See fm.liveswitch.sdp.SetupAttribute#getSetup for possible values.