|
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.SignalingPointCode
The Signaling Point Code can be implemented in one of the following 2 ways
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 |
Constructor Summary | |
SignalingPointCode(int member,
int cluster,
int zone)
Constructs a SignalingPointCode with the specified Member, Cluster, and Zone. |
Method Summary | |
static int[] |
convertSPCToMemberClusterZone(int bitCode,
int variant)
Separates a Signaling Point Code out into the three fields member, cluster, and zone. |
int |
getCluster()
Gets the Cluster field of the Signaling Point Code |
int |
getMember()
Gets the Member field of the Signaling Point Code |
int[] |
getSignalingPointCode()
Gets the SignalingPointCode, containing the member, cluster and zone fields of the SignalingPointCode. |
int |
getZone()
Gets the Zone field of the Signaling Point Code |
void |
setCluster(int cluster)
Sets the Cluster field of the Signaling Point Code |
void |
setMember(int member)
Sets the Member field of the Signaling Point Code |
void |
setSignalingPointCode(int member,
int cluster,
int zone)
Sets the member field, containing the member field of the signaling point code. |
void |
setZone(int zone)
Sets the Zone field of the Signaling Point Code |
java.lang.String |
toString()
String representation of class SignalingPointCode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SignalingPointCode(int member, int cluster, int zone)
member
- the new member field supplied to the constructorcluster
- the new cluster field supplied to the constructorzone
- the new zone field supplied to the constructorMethod Detail |
public void setMember(int member)
member
- the member field of the Signaling Point Codepublic int getMember() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown if this
parameter has not been setpublic void setCluster(int cluster)
cluster
- the new cluster of the Signaling Point Codepublic int getCluster() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown if this
parameter has not been setpublic void setZone(int zone)
zone
- the new zone of the Signaling Point Codepublic int getZone() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown if this
parameter has not been setpublic void setSignalingPointCode(int member, int cluster, int zone)
member
- the new member fieldcluster
- the new cluster fieldzone
- the new zone fieldpublic int[] getSignalingPointCode() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- thrown if this
parameter has not been setSignalingPointCode
public static int[] convertSPCToMemberClusterZone(int bitCode, int variant)
bitcode
- the Signaling Point Code stored as a bitfieldvariant
- the stack specification of the signaling point code to be decoded (ANSI/ITU)public 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 |