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

jain.protocol.ip.mgcp.message
Class EndpointConfiguration

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ip.mgcp.JainMgcpEvent
              |
              +--jain.protocol.ip.mgcp.JainMgcpCommandEvent
                    |
                    +--jain.protocol.ip.mgcp.message.EndpointConfiguration
All Implemented Interfaces:
java.io.Serializable

public final class EndpointConfiguration
extends JainMgcpCommandEvent

The MGCP EndpointConfiguration command, expressed as an event object, sent by a Call Agent to a Media Gateway to request configuration of an endpoint. This command elicits an EndpointConfigurationResponse event.

See Also:
EndpointConfigurationResponse, Serialized Form

Fields inherited from class java.util.EventObject
source
 
Constructor Summary
EndpointConfiguration(java.lang.Object source, EndpointIdentifier endpointIdentifier, BearerInformation bearerInformation)
          Constructs a new EndpointConfiguration (Command) Event object, setting the Endpoint Identifier and the endpoint configuration parameters.

 
Method Summary
 BearerInformation getBearerInformation()
          Gets the Bearer Information parameter.

 void setBearerInformation(BearerInformation bearerInformation)
          Sets the Bearer Information parameter.

 java.lang.String toString()
          Overrides java.lang.Object.toString().
 
Methods inherited from class jain.protocol.ip.mgcp.JainMgcpCommandEvent
BuildCommandHeader, getEndpointIdentifier, setEndpointIdentifier
 
Methods inherited from class jain.protocol.ip.mgcp.JainMgcpEvent
BuildListParmLine, getObjectIdentifier, getTransactionHandle, setTransactionHandle
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EndpointConfiguration

public EndpointConfiguration(java.lang.Object source,
                             EndpointIdentifier endpointIdentifier,
                             BearerInformation bearerInformation)
                      throws java.lang.IllegalArgumentException
Constructs a new EndpointConfiguration (Command) Event object, setting the Endpoint Identifier and the endpoint configuration parameters.

Parameters:
endpointIdentifier - The Endpoint Identifier.
bearerInformation - Bearer information (i.e., encoding method to be used).
Throws:
java.lang.IllegalArgumentException - Thrown if either the endpoint identifier or the bearer information parameter is null-valued.
Method Detail

getBearerInformation

public BearerInformation getBearerInformation()
Gets the Bearer Information parameter.

Returns:
The bearer information (i.e., encoding method).

setBearerInformation

public void setBearerInformation(BearerInformation bearerInformation)
                          throws java.lang.IllegalArgumentException
Sets the Bearer Information parameter.

Parameters:
bearerInformation - The bearer information (i.e., encoding method).
Throws:
java.lang.IllegalArgumentException - Thrown if the bearer information parameter is null-valued.

toString

public java.lang.String toString()
Overrides java.lang.Object.toString().
Overrides:
toString in class java.util.EventObject

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

Copyright © 2000 Sun Microsystems, Inc.