JCC
v1.0

jain.application.services.jcc
Interface JccAddress

All Superinterfaces:
JcpAddress

public interface JccAddress
extends JcpAddress

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


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
 int getType()
          Returns the type of this Address object.
 
Methods inherited from interface jain.application.services.jcp.JcpAddress
getName, getProvider
 

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.

UNDEFINED

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

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.

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.
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.

JCC
v1.0

January 19, 2001
If you have any comments or queries, please mail them to m-JAIN-JCC@notes.cc.telcordia.com

Copyright - 2001 Sun Microsystems