|
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
A DialogueIndEvent is the superclass of all Dialogue Indication primitives, which represent TCAP Dialogue Indications sent from a JainTcapProvider to a JainTcapListener . It affords a method of generic event passing, while enforcing tight control over event flow between the Listener and the Provider. This type of Event will be processed by the processDialogueIndEvent method of the JainTcapListener . This class implements the java.lang.Cloneable interface, therefore all Dialogue Indication primitives that extend this Event can be cloned using the clone() method inherited from java.lang.Object .
Field Summary | |
protected int |
m_dialogueId
The Dialogue Id parameter, which uniquely identifies this Dialogue Indication Event to a specific Dialogue between two TCAP Users. |
protected boolean |
m_dialogueIdPresent
|
protected DialoguePortion |
m_dialoguePortion
The Dialogue Portion of this Dialogue handling indication primitive, which is forbidden in an ANSI 1992 implementation of the JAIN TCAP API. |
protected boolean |
m_dialoguePortionPresent
Should always be false in an ANSI 1992 implementation of the JAIN TCAP API. |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
DialogueIndEvent(java.lang.Object source)
Constructs a new DialogueIndEvent. |
Method Summary | |
int |
getDialogueId()
Gets the Dialogue Id parameter, which is a reference identifier that is used to uniquely identify a dialogue and all associated transaction messages and components with that Dialogue. |
DialoguePortion |
getDialoguePortion()
Gets the Dialogue Portion of this Dialogue handling indication primitive. |
abstract int |
getPrimitiveType()
This abstract method defines the 'getPrimitiveType' method that must be implemented by its subclasses in order to return the type of that subclassed Dialogue Indication primitive. |
boolean |
isDialoguePortionPresent()
Indicates if the Dialogue Portion parameter is present in this Event. |
void |
setDialogueId(int dialogueId)
Sets the Dialogue Id parameter of this Dialogue Indication Event, which is a reference identifier that is used to uniquely identify a dialogue and all associated transaction messages and components with that Dialogue. |
void |
setDialoguePortion(DialoguePortion dialoguePortion)
Sets the Dialogue Portion of this Dialogue handling indication primitive. |
void |
setSource(java.lang.Object source)
Sets the source of this event. |
java.lang.String |
toString()
String representation of class DialogueIndEvent |
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 int m_dialogueId
protected boolean m_dialogueIdPresent
protected DialoguePortion m_dialoguePortion
protected boolean m_dialoguePortionPresent
Constructor Detail |
public DialogueIndEvent(java.lang.Object source)
source
- the object source supplied to the constructorMethod Detail |
public void setSource(java.lang.Object source)
source
- The new Object sourcepublic 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.
dialogueId
- The new Dialogue Identifierpublic void setDialoguePortion(DialoguePortion dialoguePortion)
dialoguePortion
- The new Dialogue Portionpublic int getDialogueId() throws MandatoryParameterNotSetException
Note to developers :- A Dialogue Id is forbidden in a UNI Indication message, therefore this method should not be used in a UnidirectionalInd Event.
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory Parameter has not been set.public boolean isDialoguePortionPresent()
Note to developers :- A Dialogue Portion can only be present in an ITU 1993, ITU 1997 and ANSI 1996 implementation of the JAIN TCAP API.
public DialoguePortion getDialoguePortion() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
Optional JAIN parameter has not been set.public abstract int getPrimitiveType()
public java.lang.String toString()
toString
in class java.util.EventObject
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |