jain.protocol.ip.mgcp.message.parms
Class EndpointIdentifier
java.lang.Object
|
+--jain.protocol.ip.mgcp.message.parms.EndpointIdentifier
- All Implemented Interfaces:
- java.io.Serializable
- public final class EndpointIdentifier
- extends java.lang.Object
- implements java.io.Serializable
Identifies an endpoint (or a set of endpoints, using a "wildcard" construction) on a Media Gateway.
- See Also:
- Serialized Form
Constructor Summary |
EndpointIdentifier(java.lang.String localEndpointName,
java.lang.String domainName)
Constructs an Endpoint Identifier.
|
Method Summary |
java.lang.String |
getDomainName()
Gets the domain name portion of the endpoint identifier. |
java.lang.String |
getLocalEndpointName()
Gets the local name portion of the endpoint identifier. |
java.lang.String |
toString()
Gets the entire endpoint identifier as a String. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EndpointIdentifier
public EndpointIdentifier(java.lang.String localEndpointName,
java.lang.String domainName)
throws java.lang.IllegalArgumentException
- Constructs an Endpoint Identifier.
- Parameters:
localEndpointName
- The string that represents the local name portion of the endpoint identifier.
The local name portion may consist of one or more parts, separated by slashes ("/").
Each part is one of the following: (1) a "$" wildcard, to signify "any matching name;"
(2) a "*" wildcard, to signify "all matching names;" or (3) a string of characters.domainName
- A domain name, as defined in RFC 821- Throws:
java.lang.IllegalArgumentException
- Thrown if either the localEndpointName or the domainName parameter does not conform
to the syntax for these parameters as defined in RFC 2705.
getDomainName
public java.lang.String getDomainName()
- Gets the domain name portion of the endpoint identifier.
- Returns:
- The domain name portion of the endpoint identifier.
getLocalEndpointName
public java.lang.String getLocalEndpointName()
- Gets the local name portion of the endpoint identifier.
- Returns:
- The local name portion of the endpoint identifier.
toString
public java.lang.String toString()
- Gets the entire endpoint identifier as a String.
- Overrides:
toString
in class java.lang.Object
- Returns:
- localEndpointName@domainName
Copyright © 2000 Sun Microsystems, Inc.