|
JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jain.protocol.ip.mgcp.message.parms.LocalOptionValue
Specifies a Local Connection Options Value. Note that this is an abstract class. "Get" accessor methods are defined for each subclass that derives from this class, which, by default, throw an exception. Each subclass defines its own overriding accessor method, so that invoking an accessor method on the wrong subclass would result in an exception being thrown.
Field Summary | |
static int |
BANDWIDTH
Signifies that this LocalOptionValue object represents a bandwidth value or range. |
static int |
COMPRESSION_ALGORITHM
Signifies that this LocalOptionValue object represents a list of compression algorithm names. |
static int |
ECHO_CANCELLATION
Signifies that this LocalOptionValue object represents the state of echo cancellation. |
static int |
ENCRYPTION_METHOD
Signifies that this LocalOptionValue object represents an encryption method/key. |
static int |
GAIN_CONTROL
Signifies that this LocalOptionValue object represents gain control. |
static int |
LOCAL_OPTION_EXTENSION
Signifies that this LocalOptionValue object represents a Local Option Extension parameter. |
static int |
PACKETIZATION_PERIOD
Signifies that this LocalOptionValue object represents a packetization period. |
static int |
RESOURCE_RESERVATION
Signifies that this LocalOptionValue object represents resource reservation. |
static int |
SILENCE_SUPPRESSION
Signifies that this LocalOptionValue object represents the state of silence suppression. |
static int |
TYPE_OF_NETWORK
Signifies that this LocalOptionValue object represents type of network. |
static int |
TYPE_OF_SERVICE
Signifies that this LocalOptionValue object represents type of service. |
Constructor Summary | |
protected |
LocalOptionValue(int localOptionValueType)
Constructs a new LocalOptionValue object. |
Method Summary | |
int |
getBandwidthLowerBound()
Gets the lower bound of the bandwidth range. |
int |
getBandwidthUpperBound()
Gets the upper bound of the bandwidth range. |
java.lang.String[] |
getCompressionAlgorithmNames()
Gets the list of compression algorithm names. |
boolean |
getEchoCancellation()
Gets the on/off state of echo cancellation. |
int |
getEncryptionMethod()
Gets the encryption method. |
int |
getGainControl()
Gets the gain control value. |
java.lang.String |
getLocalOptionExtensionName()
Gets the name of the local option extension parameter. |
int |
getLocalOptionValueType()
Gets the type of the Local Option Value. |
int |
getPacketizationPeriodLowerBound()
Gets the lower bound of the packetization period. |
int |
getPacketizationPeriodUpperBound()
Gets the upper bound of the packetization period. |
int |
getResourceReservation()
Gets the resource reservation (guaranteed, controlled load, best effort). |
boolean |
getSilenceSuppression()
Gets the on/off state of silence suppression. |
int |
getTypeOfNetwork()
Gets the type of network. |
byte |
getTypeOfService()
Gets the type of service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BANDWIDTH
public static final int COMPRESSION_ALGORITHM
public static final int ECHO_CANCELLATION
public static final int ENCRYPTION_METHOD
public static final int GAIN_CONTROL
public static final int LOCAL_OPTION_EXTENSION
public static final int PACKETIZATION_PERIOD
public static final int RESOURCE_RESERVATION
public static final int SILENCE_SUPPRESSION
public static final int TYPE_OF_NETWORK
public static final int TYPE_OF_SERVICE
Constructor Detail |
protected LocalOptionValue(int localOptionValueType)
Method Detail |
public int getBandwidthLowerBound() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent a bandwidth value or range.public int getBandwidthUpperBound() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent a bandwidth value or range.public java.lang.String[] getCompressionAlgorithmNames() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent a list of compression algorithm names.public boolean getEchoCancellation() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent the state of echo cancellation.public int getEncryptionMethod() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent encryption method.public int getGainControl() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent the gain control value.public java.lang.String getLocalOptionExtensionName() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent a local option extension parameter.public int getLocalOptionValueType()
public int getPacketizationPeriodLowerBound() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent a packetization period.public int getPacketizationPeriodUpperBound() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent a packetization period.public int getResourceReservation() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent resource reservation.public boolean getSilenceSuppression() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent the state of silence suppression.public int getTypeOfNetwork() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent type of network.public byte getTypeOfService() throws JainIPMgcpException
JainIPMgcpException
- Thrown if this object does not represent the type of service.
|
JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |