jain.protocol.ip.mgcp.message.parms
Class ConnectionIdentifier
java.lang.Object
|
+--jain.protocol.ip.mgcp.message.parms.ConnectionIdentifier
- All Implemented Interfaces:
- java.io.Serializable
- public final class ConnectionIdentifier
- extends java.lang.Object
- implements java.io.Serializable
Identifies a connection.
- See Also:
- Serialized Form
Constructor Summary |
ConnectionIdentifier(java.lang.String connectionIdentifier)
Constructs a new Connection Identifier.
|
Method Summary |
void |
setConnectionIdentifier(java.lang.String connectionIdentifier)
Sets the connection identifier string.
|
java.lang.String |
toString()
Gets the Connection Identifier string.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AllConnections
public static final ConnectionIdentifier AllConnections
- Represents the "All connections" wildcard. Calling the toString method on this object
will return "*"
AnyConnection
public static final ConnectionIdentifier AnyConnection
- Represents the "Any connection" wildcard. Calling the toString method on this object
will return "$"
ConnectionIdentifier
public ConnectionIdentifier(java.lang.String connectionIdentifier)
throws java.lang.IllegalArgumentException
- Constructs a new Connection Identifier.
- Parameters:
connectionIdentifier
- The string to be used as the connection identifier.- Throws:
java.lang.IllegalArgumentException
- Thrown if the string does not consist of from 1 through 32 hexadecimal digits.
setConnectionIdentifier
public void setConnectionIdentifier(java.lang.String connectionIdentifier)
throws java.lang.IllegalArgumentException
- Sets the connection identifier string.
- Parameters:
connectionIdentifier
- The Connection Identifier string.- Throws:
java.lang.IllegalArgumentException
- Thrown if the string does not consist of from 1 through 32 hexadecimal digits.
toString
public java.lang.String toString()
- Gets the Connection Identifier string.
- Overrides:
toString
in class java.lang.Object
- Returns:
- The string that represents the Connection Identifier.
Copyright © 2000 Sun Microsystems, Inc.