|
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.DialogueReqEvent
A DialogueReqEvent is the superclass of all Dialogue Request primitives, which represent TCAP Dialogue Requests 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 Request 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. |
protected boolean |
m_dialogueIdPresent
|
protected DialoguePortion |
m_dialoguePortion
The Dialogue Portion of this Dialogue handling request primitive. |
protected boolean |
m_dialoguePortionPresent
|
protected byte |
m_qualityOfService
The Quality of Service parameter for Dialogue Request Events. |
protected boolean |
m_qualityOfServicePresent
|
| Fields inherited from class java.util.EventObject |
source |
| Constructor Summary | |
DialogueReqEvent(java.lang.Object source)
Constructs a new DialogueReqEvent. |
|
| 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 request 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 Request primitive. |
byte |
getQualityOfService()
Gets the Quality of Service parameter of this Dialogue Requeat event. |
boolean |
isDialoguePortionPresent()
Indicates if the Dialogue Portion parameter is present in this Event. |
boolean |
isQualityOfServicePresent()
Indicates if the Quality of Service is present in this Event. |
void |
setDialogueId(int dialogueId)
Sets the Dialogue Id parameter, of this Dialogue Request 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 request primitive. |
void |
setQualityOfService(byte qualityOfService)
Sets the Quality of Service of this Dialogue Request Event, the Quality of Service parameter is initialized to zero, therefore by default can be interpreted as "Not Used". |
void |
setSource(java.lang.Object source)
Sets the source of this event. |
java.lang.String |
toString()
String representation of class DialogueReqEvent |
| 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 byte m_qualityOfService
protected boolean m_qualityOfServicePresent
protected DialoguePortion m_dialoguePortion
protected boolean m_dialoguePortionPresent
| Constructor Detail |
public DialogueReqEvent(java.lang.Object source)
source - the Object Source supplied to the constructor| Method Detail |
public void setSource(java.lang.Object source)
source - The new Object Sourcepublic void setDialogueId(int dialogueId)
Note to developers :- If this is the first BEGIN transaction message of a new dialogue a call should be made to the getNewDialogueID method of the JainTcapProvider in order to get returned a free Dialogue Id from the underlying stack implementation.
dialogueId - The new Dialogue Identifierpublic void setDialoguePortion(DialoguePortion dialoguePortion)
dialoguePortion - The new Dialogue Portionpublic void setQualityOfService(byte qualityOfService)
qualityOfService - The new QualityOfService value
public int getDialogueId()
throws MandatoryParameterNotSetException
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 JAIN
Optional parameter has not yet been setpublic boolean isQualityOfServicePresent()
public byte getQualityOfService()
throws ParameterNotSetException
ParameterNotSetException - this exception is thrown if this
parameter has not yet been setpublic 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 | ||||||||