|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.EventObject | +--jain.protocol.ss7.tcap.DialogueIndEvent | +--jain.protocol.ss7.tcap.dialogue.UnidirectionalIndEvent
An event representing a TCAP Unidirectional indication dialogue
primitive. This event will be passed from the Provider (TCAP) to the Listener(the TC User)
to indicate the receipt of a TCAP message from an Unstructured
dialogue (a dialogue between two TC Users with no explicit association
between them).
The mandatory parameters of this primitive are supplied
to the constructor. Optional parameters may then be set using the
set methods.
The optional paramters 'Application Context Name' and 'User Information' are centrally located in the Dialogue Portion class, therefore to manipulate them it is necessary it instantiate the Dialogue Portion Object and use the acessors method for the two parameters in that Dialogue Portion Object. A Uni Indication event is the only Dialogue Indication Event that does not use a Dialogue Id within the supported variants. However for the JAIN TCAP API specification the Dialogue Id will be included to associate Component Events with this Dialogue Event, hence simplifing the implementation of a JAIN TCAP application.
Constructor Summary | |
UnidirectionalIndEvent(java.lang.Object source,
TcapUserAddress originAddress,
TcapUserAddress destAddress,
boolean componentsPresent)
Constructs a new UnidirectionalIndEvent, with only the Event Source and the JAIN TCAP Mandatory parameters being supplied to the constructor. |
Method Summary | |
void |
clearAllParameters()
Clears all previously set parameters and resets the 'Components Present' flag to false. |
TcapUserAddress |
getDestinationAddress()
Gets the Destination Address parameter of the Unidirectional indication primtive. |
TcapUserAddress |
getOriginatingAddress()
Gets the Originating Address parameter of the Unidirectional indication primitive. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
byte |
getQualityOfService()
Gets the Quality of Service parameter of the Unidirectional indication primitive. |
boolean |
isComponentsPresent()
Reteurns the Components present flag of this Unidirectional indication primitive. |
boolean |
isDialogueIdPresent()
Indicates if the Dialogue Id is present in this Event. |
boolean |
isQualityOfServicePresent()
Indicates if the Quality of Service parameter is present in this Event. |
void |
setComponentsPresent(boolean componentsPresent)
Sets the Components present parameter of this Unidirectional indication primitive. |
void |
setDestinationAddress(TcapUserAddress destination)
Sets the Destination Address parameter of the Unidirectional indication primitive. |
void |
setOriginatingAddress(TcapUserAddress origin)
Sets the Originating Address parameter of the Unidirectional indication primitive. |
void |
setQualityOfService(byte qualityOfService)
Sets the Quality of Service parameter of the Unidirectional indication primitive. |
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
Methods inherited from class jain.protocol.ss7.tcap.DialogueIndEvent |
getDialogueId,
getDialoguePortion,
isDialoguePortionPresent,
setDialogueId,
setDialoguePortion,
setSource |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public UnidirectionalIndEvent(java.lang.Object source, TcapUserAddress originAddress, TcapUserAddress destAddress, boolean componentsPresent)
Method Detail |
public boolean isDialogueIdPresent()
public TcapUserAddress getDestinationAddress() throws MandatoryParameterNotSetException
public void setDestinationAddress(TcapUserAddress destination)
dest
- the TcapUserAddress representing the Destination Address of
UnidirectionalEventpublic TcapUserAddress getOriginatingAddress() throws MandatoryParameterNotSetException
public void setOriginatingAddress(TcapUserAddress origin)
origin
- the TcapUserAddress representing the
Originating Address of the UnidirectionalEvent.public boolean isQualityOfServicePresent()
public byte getQualityOfService() throws ParameterNotSetException
public void setQualityOfService(byte qualityOfService)
qos
- the Quality of Service parameter of the UnidirectionalEventpublic void setComponentsPresent(boolean componentsPresent)
componentsPresent
- the Components Present of the UnidirectionalEvent.public boolean isComponentsPresent()
public int getPrimitiveType()
public void clearAllParameters()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |