|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jain.protocol.ss7.tcap.TcapUserAddress
SccpUserAddress
class.
TcapUserAddress represents an address of a TCAP User application.
A TCAP User application may handle a number of User Addresses and will
register as an Event Listener of a
JainTcapProvider for that User Address.
Any Events addressed to a User Address will be passed to the User application to whom the User Address belongs. The User Address comprises of the:
Constructor Summary | |
TcapUserAddress(byte[] signalingPointCode,
short subSystemNumber)
Deprecated. Constructs a TcapUserAddress with the specified Signalling Point Code and Sub-System Number. |
|
TcapUserAddress(GlobalTitle globalTitle)
Deprecated. Constructs a TcapUserAddress with the specified Global Title. |
Method Summary | |
GlobalTitle |
getGlobalTitle()
Deprecated. Gets the Global Title of the User Address. |
byte[] |
getSignalingPointCode()
Deprecated. Gets the Signalling Point Code of the User Address. |
short |
getSubSystemNumber()
Deprecated. Gets the Sub-System Number of the User Address. |
boolean |
isGlobalTitleRouting()
Deprecated. Gets the Global Title Routing indicator. |
boolean |
isSignalingPointCodePresent()
Deprecated. Indicates if the Signalling Point Code is present in this User Address. |
void |
setGlobalTitle(GlobalTitle globalTitle)
Deprecated. Sets the Global Title of this User Address. |
void |
setGlobalTitleRouting(boolean gtRoutingIndicator)
Deprecated. Sets the Global Title Routing indicator. |
void |
setSignalingPointCode(byte[] pointCode)
Deprecated. Sets the Signalling Point Code of the User Address. |
void |
setSubSystemNumber(short subSystemNumber)
Deprecated. Sets the Sub-System Number of the User Address. |
java.lang.String |
toString()
Deprecated. Returns a string representation of an instance of this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TcapUserAddress(byte[] signalingPointCode, short subSystemNumber)
signalingPointCode
- the Signalling Point Code of the User Address.
The format of the signalling point code
is described at setSignallingPointCode(byte[]).subSystemNumber
- the Sub-System Number of the User Addresspublic TcapUserAddress(GlobalTitle globalTitle)
globalTitle
- the Global titleMethod Detail |
public boolean isGlobalTitleRouting()
public void setGlobalTitleRouting(boolean gtRoutingIndicator)
gtRoutingIndicator
- Enable/disable global title routing.public boolean isSignalingPointCodePresent()
public byte[] getSignalingPointCode() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic void setSignalingPointCode(byte[] pointCode)
spc[0] == Signalling Point ID (member)
spc[1] == Area Id (cluster)
spc[2] == Zone Id (network)
The permitted ranges for each value are outlined in the table below.
Signalling Point ID (member) |
Area ID (cluster) |
Zone Id (network) |
|
ANSI |
000-255 |
000-255 |
000-255 |
ITU |
000-007 |
000-255 |
000-007 |
NB:A byte in Java contains a signed integer and thus ranges from -128 to 127.
When converting an Integer (intVal) to a byte (byteVal) using the following code:
int x;
.....
Integer intVal = new Integer(x);
byte byteVal = intVal.byteValue();
The following values will be obtained:
intObj.intValue() |
intObj.byteValue() |
0 |
0 |
127 |
127 |
128 |
-128 |
255 |
-1 |
This fact should be remembered when supplying bytes to this method.
pointCode
- the signalingPointCode of this TcapUserAddresspublic short getSubSystemNumber() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic void setSubSystemNumber(short subSystemNumber)
subSystemNumber
- the SubSystemNumber of this TcapUserAddresspublic GlobalTitle getGlobalTitle() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic void setGlobalTitle(GlobalTitle globalTitle)
globalTitle
- the GlobalTitle of this TcapUserAddresspublic java.lang.String toString()
toString
in class java.lang.Object
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |