JCAT
v0.3.1

javax.csapi.cc.jcc
Interface JccAddress

All Known Subinterfaces:
JcatAddress

public interface JccAddress

This interface represents the JccAddress. The constants defined in this class might be moved to other (more general) classes in later releases.

Since:
1.0

Field Summary
static int AESA
          This constant value indicates that the address is an ATM End System Address in binary format (40 bytes).
static int E164
          This constant value indicates that the address is an international number without the international access code, including the country code and excluding the leading zero of the area code.
static int E164_MOBILE
          This constant value indicates that the address is an E.164 mobile number.
static int GT
          This constant value indicates that the address is a Global Title.
static int H323
          This constant value indicates that the address is a H.323 address.
static int IP
          This constant value indicates that the address is an IP address.
static int MULTICAST
          This constant value indicates that the address is an Ipv4 class D address or Ipv6 equivalent in dotted notation.
static int NOT_PRESENT
          This constant value indicates that no address is present.
static int NSAP
          This constant value indicates that the address is an binary representation of the Network Service Access Point.
static int SIP
          This constant value indicates that the address is a Session Initiation Protocol address as specified in RFC2543.
static int SMTP
          This constant value indicates that the address is an e-mail address as specified in IETF RFC822.
static int SSN
          This constant value indicates that the address is a Sub System Number.
static int UNDEFINED
          This constant value indicates that the address plan is undefined.
static int UNICAST
          This constant value indicates that the address is a non multicast or broadcast IP address in dotted notation.
static int URL
          This constant value indicates that the address is an uniform resource locator as defined in IETF RFC 1738.
static int X400
          This constant value indicates that the address is an X400 address structured as a set of attibute value pairs separated by semicolons.
 
Method Summary
 java.lang.String getName()
          Returns the string representation of the JccAddress.
 JccProvider getProvider()
          Retrieves the Jccprovider handling this address object.
 int getType()
          Returns the type of this Address object.
 

Field Detail

NOT_PRESENT

public static final int NOT_PRESENT
This constant value indicates that no address is present. This constant has an integer value of -1.

See Also:
Constant Field Values

UNDEFINED

public static final int UNDEFINED
This constant value indicates that the address plan is undefined. This constant has an integer value of 0.

See Also:
Constant Field Values

IP

public static final int IP
This constant value indicates that the address is an IP address. For Ipv4 the dotted quad notation is used. Also for IPv6 the dotted notation is used. The address can optionally be followed by a port number separated by a colon. This constant has an integer value of 1.

See Also:
Constant Field Values

MULTICAST

public static final int MULTICAST
This constant value indicates that the address is an Ipv4 class D address or Ipv6 equivalent in dotted notation. This constant has an integer value of 2.

See Also:
Constant Field Values

UNICAST

public static final int UNICAST
This constant value indicates that the address is a non multicast or broadcast IP address in dotted notation. This constant has an integer value of 3.

See Also:
Constant Field Values

E164

public static final int E164
This constant value indicates that the address is an international number without the international access code, including the country code and excluding the leading zero of the area code. This constant has an integer value of 4.

See Also:
Constant Field Values

E164_MOBILE

public static final int E164_MOBILE
This constant value indicates that the address is an E.164 mobile number. This constant has an integer value of 5.

See Also:
Constant Field Values

AESA

public static final int AESA
This constant value indicates that the address is an ATM End System Address in binary format (40 bytes). This constant has an integer value of 6.

See Also:
Constant Field Values

URL

public static final int URL
This constant value indicates that the address is an uniform resource locator as defined in IETF RFC 1738. This constant has an integer value of 7.

See Also:
Constant Field Values

NSAP

public static final int NSAP
This constant value indicates that the address is an binary representation of the Network Service Access Point. This constant has an integer value of 8.

See Also:
Constant Field Values

SMTP

public static final int SMTP
This constant value indicates that the address is an e-mail address as specified in IETF RFC822. This constant has an integer value of 9.

See Also:
Constant Field Values

X400

public static final int X400
This constant value indicates that the address is an X400 address structured as a set of attibute value pairs separated by semicolons.

See Also:
Constant Field Values

H323

public static final int H323
This constant value indicates that the address is a H.323 address. A H.323 Address may be identified by a list of addresses of different types, including URLs. For example: "31161249111,http://www.aepona.com,somebody@aepona.com" This would be a H.323 address which is a combination of a E.164 address, an URL address and an e-mail address. This constant has an integer value of 11.

See Also:
Constant Field Values

SIP

public static final int SIP
This constant value indicates that the address is a Session Initiation Protocol address as specified in RFC2543. For example: "sip:somebody@sun.com" This constant has an integer value of 12.

See Also:
Constant Field Values

GT

public static final int GT
This constant value indicates that the address is a Global Title. The format of a Global Title is GTI.TT.NP.NA.AI where: TT, NP, NA are all optional depending on GT Indicator and standard being used. For example: 1.0.0.0.1234 This constant has an integer value of 13.

See Also:
Constant Field Values

SSN

public static final int SSN
This constant value indicates that the address is a Sub System Number. For example: "6.255.255.255", where the 6 equals the Subsystem number, that is 6 is equal to the Home Location Register seperated by a fullstop from the Signaling Point Code which must be in the format of X.X.X This constant has an integer value of 14.

See Also:
Constant Field Values
Method Detail

getType

public int getType()
Returns the type of this Address object. The type of Address can denote whether it is an IP address or a telephone address with a particular numbering scheme such as E.164. This method is expected to return one of the constants defined in this class. This methods is expected to change, it will return values that will be defined by the general JAIN protocol address.

Returns:
the type of this Address object.

getName

public java.lang.String getName()
Returns the string representation of the JccAddress. Note that each JccAddress possesses a unique string representation within a given JccProvider.

Returns:
the "unique" string representation of this JccAddress.
Since:
1.0b

getProvider

public JccProvider getProvider()
Retrieves the Jccprovider handling this address object. This JccProvider object is valid throughout the lifetime of the JccAddress and does not change once the JccAddress is created.

Returns:
JccProvider object managing this call.
Since:
1.0b

JCAT
v0.3.1

August, 2003
If you have any comments or queries, please mail them to JSR-122-EG@JCP.ORG

Copyright - 2001, 2003 Sun Microsystems