|
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.ComponentReqEvent
A ComponentReqEvent is the superclass of all Component request primitives, which represent TCAP Component requests sent from a JainTcapListener to a JainTcapProvider . 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 sendComponentReqEvent() method of the JainTcapProvider . This class implements the java.lang.Cloneable interface, therefore all Component 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 of the Component Request Event. |
protected boolean |
m_dialogueIdPresent
|
protected int |
m_invokeId
The Invoke Id parameter for ITU and ANSI for an INVOKE component. |
protected boolean |
m_invokeIdPresent
|
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ComponentReqEvent(java.lang.Object source)
Constructs a new ComponentReqEvent. |
Method Summary | |
int |
getDialogueId()
Gets the Dialogue Id parameter of the Component Request Event, which is a reference identifier which identifies a specific dialogue or transaction and all associated components within that dialogue or transaction. |
int |
getInvokeId()
Gets the Invoke Id parameter of the request component. |
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 Component Request primitive. |
void |
setDialogueId(int dialogueId)
Sets the Dialogue Id parameter of this Component Request Event. |
void |
setInvokeId(int invokeId)
Sets the Invoke Id parameter of the request component. |
void |
setSource(java.lang.Object source)
Sets the source of this event. |
java.lang.String |
toString()
String representation of class jain.protocol.ss7.tcap.ComponentReqEvent |
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 int m_invokeId
protected boolean m_invokeIdPresent
Constructor Detail |
public ComponentReqEvent(java.lang.Object source)
source
- the new source object supplied to the constructorMethod Detail |
public void setSource(java.lang.Object source)
source
- The new object sourcepublic void setDialogueId(int dialogueId)
dialogueId
- The new Dialogue Identifierpublic void setInvokeId(int invokeId)
invokeId
- The new Invoke Identifierpublic int getDialogueId() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setpublic int getInvokeId() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet 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 |