|
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 | +--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 parameters '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 accessors 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 simplifying the implementation of a JAIN TCAP application.
DialogueIndEvent
, Serialized FormField Summary | |
protected boolean |
m_dialogueIdPresent
Deprecated. As of JAIN TCAP v1.1, a UNI Indication does not contain a dialogueId. |
Fields inherited from class jain.protocol.ss7.tcap.DialogueIndEvent |
m_dialogueId, m_dialoguePortion, m_dialoguePortionPresent |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
UnidirectionalIndEvent(java.lang.Object source,
SccpUserAddress originAddress,
SccpUserAddress 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. |
SccpUserAddress |
getDestinationAddress()
Gets the Destination Address parameter of the Unidirectional indication primtive. |
int |
getDialogueId()
Note to developers :- A Dialogue Id is forbidden in a UNI Indication message, therefore this method should not be used in a UnidirectionalInd Event. |
SccpUserAddress |
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()
Returns the Components present flag of this Unidirectional indication primitive. |
boolean |
isDialogueIdPresent()
Deprecated. As of JAIN TCAP v1.1, there is no concept of a dialogueId in a UNI Indication message. |
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(SccpUserAddress destination)
Sets the Destination Address parameter of the Unidirectional indication primitive. |
void |
setDialogueId(int dialogueId)
Note to developers :- A Dialogue Id is forbidden in a UNI Indication message, therefore this method should not be used in a UnidirectionalInd Event. |
void |
setOriginatingAddress(SccpUserAddress 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()
String representation of class UnidirectionalIndEvent |
Methods inherited from class jain.protocol.ss7.tcap.DialogueIndEvent |
getDialoguePortion, isDialoguePortionPresent, setDialoguePortion, setSource |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected boolean m_dialogueIdPresent
Constructor Detail |
public UnidirectionalIndEvent(java.lang.Object source, SccpUserAddress originAddress, SccpUserAddress destAddress, boolean componentsPresent)
source
- the Event Source supplied to the constructororiginAddress
- the Originating Address supplied to the constructordestAddress
- the Destination Address supplied to the constructorcomponentsPresent
- the Components Present Flag supplied to the constructorMethod Detail |
public void setDialogueId(int dialogueId)
setDialogueId
in class DialogueIndEvent
dialogueId
- The new DialogueId valuepublic void setDestinationAddress(SccpUserAddress destination)
destination
- The new Destination Address valuepublic void setOriginatingAddress(SccpUserAddress origin)
origin
- The new Originating Address valuepublic void setQualityOfService(byte qualityOfService)
qualityOfService
- The new Quality Of Service valuepublic void setComponentsPresent(boolean componentsPresent)
componentsPresent
- The new Components Present Flagpublic boolean isDialogueIdPresent()
public int getDialogueId() throws MandatoryParameterNotSetException
getDialogueId
in class DialogueIndEvent
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory Parameter has not been set.public SccpUserAddress getDestinationAddress() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setpublic SccpUserAddress getOriginatingAddress() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setpublic boolean isQualityOfServicePresent()
public byte getQualityOfService() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic boolean isComponentsPresent()
public int getPrimitiveType()
getPrimitiveType
in class DialogueIndEvent
public void clearAllParameters()
public java.lang.String toString()
toString
in class DialogueIndEvent
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |