jain.protocol.ip.mgcp.message.parms
Class BearerInformation
java.lang.Object
|
+--jain.protocol.ip.mgcp.message.parms.BearerInformation
- All Implemented Interfaces:
- java.io.Serializable
- public final class BearerInformation
- extends java.lang.Object
- implements java.io.Serializable
Defines the encoding method
to be used for encoding the data received from the line side.
- See Also:
- Serialized Form
Method Summary |
int |
getEncodingMethod()
Gets the encoding method.
|
java.lang.String |
toString()
Returns the encoding method as a String ("A" or "mu"). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ENC_METHOD_A_LAW
public static final int ENC_METHOD_A_LAW
- Signifies A-law encoding method.
ENC_METHOD_MU_LAW
public static final int ENC_METHOD_MU_LAW
- Signifies mu-law encoding method.
EncMethod_A_Law
public static final BearerInformation EncMethod_A_Law
- Encapsulates the A-law encoding method in a BearerInformation object.
EncMethod_mu_Law
public static final BearerInformation EncMethod_mu_Law
- Encapsulates the mu-law encoding method in a BearerInformation object.
getEncodingMethod
public int getEncodingMethod()
- Gets the encoding method.
- Returns:
- An integer value that indicates the encoding method to be used.
toString
public java.lang.String toString()
- Returns the encoding method as a String ("A" or "mu").
- Overrides:
toString
in class java.lang.Object
Copyright © 2000 Sun Microsystems, Inc.