|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nist.core.GenericObject
gov.nist.javax.sdp.fields.SDPObject
gov.nist.javax.sdp.fields.SDPField
gov.nist.javax.sdp.fields.BandwidthField
public class BandwidthField
Bandwidth field of a SDP header.
Field Summary |
---|
Fields inherited from interface javax.sdp.BandWidth |
---|
AS, CT |
Fields inherited from interface gov.nist.javax.sdp.fields.SDPFieldNames |
---|
ATTRIBUTE_FIELD, BANDWIDTH_FIELD, CONNECTION_FIELD, EMAIL_FIELD, INFORMATION_FIELD, KEY_FIELD, MEDIA_FIELD, ORIGIN_FIELD, PHONE_FIELD, PROTO_VERSION_FIELD, REPEAT_FIELD, SESSION_NAME_FIELD, TIME_FIELD, URI_FIELD, ZONE_FIELD |
Constructor Summary | |
---|---|
BandwidthField()
|
Method Summary | |
---|---|
String |
encode()
Get the string encoded version of this object |
int |
getBandwidth()
|
String |
getBwtype()
|
String |
getType()
Returns the bandwidth type. |
int |
getValue()
Returns the bandwidth value measured in kilobits per second. |
void |
setBandwidth(int b)
Set the bandwidth member |
void |
setBwtype(String b)
Set the bwtype member |
void |
setType(String type)
Sets the bandwidth type. |
void |
setValue(int value)
Sets the bandwidth value. |
Methods inherited from class gov.nist.javax.sdp.fields.SDPField |
---|
getFieldName, getTypeChar, toString |
Methods inherited from class gov.nist.javax.sdp.fields.SDPObject |
---|
dbgPrint, debugDump, equals, match |
Methods inherited from class gov.nist.core.GenericObject |
---|
clone, debugDump, encode, getClassFromName, getMatcher, isMySubclass, makeClone, merge, setMatcher |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.sdp.Field |
---|
clone, getTypeChar |
Constructor Detail |
---|
public BandwidthField()
Method Detail |
---|
public String getBwtype()
public int getBandwidth()
public void setBwtype(String b)
public void setBandwidth(int b)
public String encode()
encode
in class SDPField
public String getType() throws SdpParseException
getType
in interface BandWidth
SdpParseException
public void setType(String type) throws SdpException
setType
in interface BandWidth
type
- to set
SdpException
- if the type is nullpublic int getValue() throws SdpParseException
getValue
in interface BandWidth
SdpParseException
public void setValue(int value) throws SdpException
setValue
in interface BandWidth
value
- to set
SdpException
|
NIST-SIP: The Reference Implementation for JAIN-SIP 1.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |