|
JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jain.protocol.ip.mgcp.message.parms.NotifiedEntity
Specifies where notifications should be sent.
Constructor Summary | |
NotifiedEntity(java.lang.String domainName)
Constructs a new Notified Entity object. |
|
NotifiedEntity(java.lang.String localName,
java.lang.String domainName)
Constructs a new Notified Entity object. |
|
NotifiedEntity(java.lang.String localName,
java.lang.String domainName,
int portNumber)
Constructs a new Notified Entity object. |
Method Summary | |
java.lang.String |
getDomainName()
Gets the Domain Name of the Notified Entity. |
java.lang.String |
getLocalName()
Gets the Local Name of the Notified Entity. |
int |
getPortNumber()
Gets the Port Number of the Notified Entity. |
java.lang.String |
toString()
Gets the complete Notified Entity string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NotifiedEntity(java.lang.String domainName) throws java.lang.IllegalArgumentException
domainName
- A string that designates the Domain Name of the notified entity. Must be non-null and must conform to RFC 821
syntax.java.lang.IllegalArgumentException
- Thrown if the Domain Name is null or does not conform to RFC 821 syntax.public NotifiedEntity(java.lang.String localName, java.lang.String domainName) throws java.lang.IllegalArgumentException
localName
- A string that designates the Local Name of the notified entity. Must be non-null and must conform to RFC 2705
syntax for a Local Name.domainName
- A string that designates the Domain Name of the notified entity. Must be non-null and must conform to RFC 821
syntax.java.lang.IllegalArgumentException
- Thrown if either parameter is null or if either parameter does not conform to the syntax as defined in the
appropriate RFC.public NotifiedEntity(java.lang.String localName, java.lang.String domainName, int portNumber) throws java.lang.IllegalArgumentException
localName
- A string that designates the Local Name of the notified entity. Must be non-null and must conform to RFC 2705
syntax for a Local Name.domainName
- A string that designates the Domain Name of the notified entity. Must be non-null and must conform to RFC 821
syntax.portNumber
- The port number on the notified entity. Must be a positive integer from 1 through 5 digits in length.java.lang.IllegalArgumentException
- Thrown if either parameter is null or if either parameter does not conform to the syntax as defined in the
appropriate RFC or if the port number is not a positive integer from 1 through 5 digits in length.Method Detail |
public java.lang.String getDomainName()
public java.lang.String getLocalName()
public int getPortNumber()
public java.lang.String toString()
toString
in class java.lang.Object
|
JAINTM MGCP API (DRAFT FOR PUBLIC REVIEW) - Version 0.9 - 16 NOVEMBER 2000 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |