JAIN TCAP API
v1.1 - 5th Sept 2001

jain.protocol.ss7
Class SubSystemAddress

java.lang.Object
  |
  +--jain.protocol.ss7.SubSystemAddress
All Implemented Interfaces:
java.io.Serializable

public final class SubSystemAddress
extends java.lang.Object
implements java.io.Serializable

SubsystemAddress represents an address of an SS7 User application.
The User Address comprises of the following mandatory parameters:


Version:
1.1
Author:
Sun Microsystems Inc.
See Also:
Serialized Form

Constructor Summary
SubSystemAddress(SignalingPointCode signalingPointCode, short subSystemNumber)
          Constructs a SubsystemAddress with the specified Signalling Point Code and Sub-System Number.
 
Method Summary
 SignalingPointCode getSignalingPointCode()
          Returns the Signaling Point Code of this SubSystem Number.
 int getSubSystemNumber()
          Gets the SubSystem number of this Subsystem Address.
 void setSignalingPointCode(SignalingPointCode spc)
          Sets the Signaling Point Code of this SubSystem Number.
 void setSubSystemNumber(int subSystemNumber)
          Sets the SubSystem number of this SubSystem Address.
 java.lang.String toString()
          String representation of class SubSystemAddress
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubSystemAddress

public SubSystemAddress(SignalingPointCode signalingPointCode,
                        short subSystemNumber)
Constructs a SubsystemAddress with the specified Signalling Point Code and Sub-System Number.
Parameters:
signalingPointCode - the Signaling Point Code of the Subsystem Address.
subSystemNumber - the Sub-System Number of the Subsystem Address
Since:
JAIN TCAP v1.1
Method Detail

setSubSystemNumber

public void setSubSystemNumber(int subSystemNumber)
                        throws java.lang.IllegalArgumentException
Sets the SubSystem number of this SubSystem Address. The SubSystem number should be greater than 0 and less than 255.
Parameters:
subSystemNumber - the Subsystem Number of this SubSystem Address
Throws:
java.lang.IllegalArgumentException - thrown if an out of range SubSystem Number is passed to this method

getSignalingPointCode

public SignalingPointCode getSignalingPointCode()
Returns the Signaling Point Code of this SubSystem Number.

SSSAAAZZZ

where:

SSS == Member
AAA == Cluster
ZZZ == Zone

The permitted ranges for each value are outlined in the table below.
 

Member

Cluster

Zone

ANSI

000-255

000-255

000-255

ITU

000-007

000-255

000-007

Returns:
the signalingPointCode of this Subsystem Address

setSignalingPointCode

public void setSignalingPointCode(SignalingPointCode spc)
                           throws MandatoryParameterNotSetException
Sets the Signaling Point Code of this SubSystem Number.

SSSAAAZZZ

where:

SSS == Member
AAA == Cluster
ZZZ == Zone

The permitted ranges for each value are outlined in the table below.
 

Member

Cluster

Zone

ANSI

000-255

000-255

000-255

ITU

000-007

000-255

000-007

Parameters:
the - signalingPointCode of this Subsystem Address

getSubSystemNumber

public int getSubSystemNumber()
                       throws MandatoryParameterNotSetException
Gets the SubSystem number of this Subsystem Address.
Returns:
the SubSystem number of this SubSystem Address
Throws:
MandatoryParameterNotSetException - thrown if this mandatory parameter has not been set

toString

public java.lang.String toString()
String representation of class SubSystemAddress
Overrides:
toString in class java.lang.Object
Returns:
String provides description of class SubSystemAddress

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]