JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000

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

Field Summary
static int ENC_METHOD_A_LAW
          Signifies A-law encoding method.
static int ENC_METHOD_MU_LAW
          Signifies mu-law encoding method.
static BearerInformation EncMethod_A_Law
          Encapsulates the A-law encoding method in a BearerInformation object.
static BearerInformation EncMethod_mu_Law
          Encapsulates the mu-law encoding method in a BearerInformation object.
 
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
 

Field Detail

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

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

JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000

Copyright © 2000 Sun Microsystems, Inc.