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.
|
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 |
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.
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
Copyright © 2000 Sun Microsystems, Inc.