fm.liveswitch.sdp.Attribute Class Referenceabstract

An SDP attribute. More...

Public Member Functions

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

 Attribute ()
 
abstract String getAttributeValue ()
 Gets the internal value of the attribute. More...
 
void setMultiplexingCategory (fm.liveswitch.sdp.AttributeCategory value)
 Sets the Multiplexing Category of this Attribute. More...
 

Detailed Description

An SDP attribute.

Constructor & Destructor Documentation

◆ Attribute()

fm.liveswitch.sdp.Attribute.Attribute ( )
protected

Member Function Documentation

◆ createAttribute()

static fm.liveswitch.sdp.Attribute fm.liveswitch.sdp.Attribute.createAttribute ( String  name,
String  value 
)
static

Creates an attribute.

Parameters
nameThe name.
valueThe value.

◆ getAttributeType()

fm.liveswitch.sdp.AttributeType fm.liveswitch.sdp.Attribute.getAttributeType ( )

Gets this Attribute's Type.

◆ getAttributeValue()

abstract String fm.liveswitch.sdp.Attribute.getAttributeValue ( )
abstractprotected

Gets the internal value of the attribute.

Reimplemented in fm.liveswitch.sdp.UnknownAttribute, fm.liveswitch.sdp.ToolAttribute, fm.liveswitch.sdp.SetupAttribute, fm.liveswitch.sdp.SendReceiveAttribute, fm.liveswitch.sdp.SendOnlyAttribute, fm.liveswitch.sdp.SdpLanguageAttribute, fm.liveswitch.sdp.sctp.PortAttribute, fm.liveswitch.sdp.sctp.MaxMessageSizeAttribute, fm.liveswitch.sdp.sctp.MapAttribute, fm.liveswitch.sdp.rtp.SsrcGroupAttribute, fm.liveswitch.sdp.rtp.SsrcAttribute, fm.liveswitch.sdp.rtp.SimulcastAttribute, fm.liveswitch.sdp.rtp.RidAttribute, fm.liveswitch.sdp.rtp.MapAttribute, fm.liveswitch.sdp.rtp.ExtMapAttribute, fm.liveswitch.sdp.rtcp.MuxAttribute, fm.liveswitch.sdp.rtcp.FeedbackAttribute, fm.liveswitch.sdp.rtcp.Attribute, fm.liveswitch.sdp.ReceiveOnlyAttribute, fm.liveswitch.sdp.QualityAttribute, fm.liveswitch.sdp.PacketTimeAttribute, fm.liveswitch.sdp.OrientationAttribute, fm.liveswitch.sdp.MutedAttribute, fm.liveswitch.sdp.MediaStreamIdSemanticAttribute, fm.liveswitch.sdp.MediaStreamIdAttribute, fm.liveswitch.sdp.MaxPacketTimeAttribute, fm.liveswitch.sdp.LanguageAttribute, fm.liveswitch.sdp.KeywordsAttribute, fm.liveswitch.sdp.InactiveAttribute, fm.liveswitch.sdp.ice.UfragAttribute, fm.liveswitch.sdp.ice.RemoteCandidatesAttribute, fm.liveswitch.sdp.ice.PasswordAttribute, fm.liveswitch.sdp.ice.OptionsAttribute, fm.liveswitch.sdp.ice.MismatchAttribute, fm.liveswitch.sdp.ice.LiteAttribute, fm.liveswitch.sdp.ice.FingerprintAttribute, fm.liveswitch.sdp.ice.CandidateAttribute, fm.liveswitch.sdp.GroupAttribute, fm.liveswitch.sdp.FrameRateAttribute, fm.liveswitch.sdp.FormatParametersAttribute, fm.liveswitch.sdp.CryptoAttribute, fm.liveswitch.sdp.ContentAttribute, fm.liveswitch.sdp.ConferenceTypeAttribute, fm.liveswitch.sdp.CharacterSetAttribute, fm.liveswitch.sdp.CategoryAttribute, and fm.liveswitch.sdp.BundleOnlyAttribute.

◆ getMultiplexingCategory()

fm.liveswitch.sdp.AttributeCategory fm.liveswitch.sdp.Attribute.getMultiplexingCategory ( )

Gets the Multiplexing Category of this Attribute.

◆ getTypeName()

static String fm.liveswitch.sdp.Attribute.getTypeName ( @SuppressWarnings("rawtypes") Class  type)
static

Gets the name of the attribute type.

Parameters
typeThe attribute type.

◆ isMediaLevel()

static boolean fm.liveswitch.sdp.Attribute.isMediaLevel ( @SuppressWarnings("rawtypes") Class  type)
static

Determines whether the type applies to media streams.

Parameters
typeThe type.

◆ isSessionLevel()

static boolean fm.liveswitch.sdp.Attribute.isSessionLevel ( @SuppressWarnings("rawtypes") Class  type)
static

Determines whether the type applies to sessions.

Parameters
typeThe type.

◆ parse()

static fm.liveswitch.sdp.Attribute fm.liveswitch.sdp.Attribute.parse ( String  s)
static

Creates an fm.liveswitch.sdp.ConnectionData instance from a string.

Parameters
sThe string to parse.

◆ setAttributeType()

void fm.liveswitch.sdp.Attribute.setAttributeType ( fm.liveswitch.sdp.AttributeType  value)

Sets this Attribute's Type.

◆ setMultiplexingCategory()

void fm.liveswitch.sdp.Attribute.setMultiplexingCategory ( fm.liveswitch.sdp.AttributeCategory  value)
protected

Sets the Multiplexing Category of this Attribute.

◆ toString()

String fm.liveswitch.sdp.Attribute.toString ( )

Converts this instance to a string.