|
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.SccpUserAddress
SccpUserAddress represents an address of a Sccp User application.
A Sccp User application may handle a number of Sccp User Addresses and will
register as an Event Listener with any JainProvider for each Sccp 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 one or both of the following:
Constructor Summary | |
SccpUserAddress(GlobalTitle globalTitle)
Constructs a SccpUserAddress with the specified Global Title. |
|
SccpUserAddress(SubSystemAddress subSystemAddress)
Constructs a SccpUserAddress with the specified SubSystemAddress (Signalling Point Code and Sub-System Number). |
Method Summary | |
GlobalTitle |
getGlobalTitle()
Gets the Global Title of the User Address. |
boolean |
getNationalUse()
Gets the National Use of this Sccp User Address. |
int |
getRoutingIndicator()
Gets the Routing indicator. |
SubSystemAddress |
getSubSystemAddress()
Gets the Subsystem address, containing the Signaling Point Code and Sub System Number of the subsystem. |
void |
setGlobalTitle(GlobalTitle globalTitle)
Sets the Global Title of this User Address. |
void |
setNationalUse(boolean nationalUse)
Sets the National Use of this Sccp User Address. |
void |
setRoutingIndicator(int routingIndicator)
Sets the Routing indicator, which indicates if the global title or a combination of the SubSystemAddress will be used by SCCP to route a message. |
void |
setSubSystemAddress(SubSystemAddress subSystemAddress)
Sets the Subsystem address, containing the Signaling Point Code and Sub System Number of the subsystem. |
java.lang.String |
toString()
String representation of class SccpUserAddress |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SccpUserAddress(SubSystemAddress subSystemAddress)
subSystemAddress
- the new SubSystem Address supplied to the constructorpublic SccpUserAddress(GlobalTitle globalTitle)
globalTitle
- the new GlobalTitle supplied to the methodMethod Detail |
public void setRoutingIndicator(int routingIndicator) throws java.lang.IllegalArgumentException
routingIndicator
- The new Routing Indicator value is one of the following:-
AddressConstants
public void setGlobalTitle(GlobalTitle globalTitle)
globalTitle
- the GlobalTitle of this SccpUserAddressGlobalTitle
public void setSubSystemAddress(SubSystemAddress subSystemAddress)
subSystemAddress
- the new Subsystem AddressSubSystemAddress
public void setNationalUse(boolean nationalUse)
nationalUse
- the new National Use valuepublic int getRoutingIndicator()
public GlobalTitle getGlobalTitle() throws ParameterNotSetException, MandatoryParameterNotSetException
ParameterNotSetException
- this exception is thrown if the GlobalTitle
parameter has not yet been setMandatoryParameterNotSetException
- this exception is thrown if the GlobalTitle
parameter has not been set and the Routing Indicator is of type ROUTING_GLOBALTITLE.public SubSystemAddress getSubSystemAddress() throws ParameterNotSetException, MandatoryParameterNotSetException
ParameterNotSetException
- thrown if theSubSystemAddress parameter has not been setMandatoryParameterNotSetException
- this exception is thrown if the SubSystemAddress
parameter has not been set and the Routing Indicator is of type ROUTING_SUBSYSTEMSubSystemAddress
public boolean getNationalUse()
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 |