|
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 | +--jain.protocol.ss7.tcap.component.InvokeReqEvent
An event representing a TCAP Invoke request component primitive. The mandatory parameters of this primitive are supplied to the constructor. Optional parameters may then be set using the set methods.
ComponentReqEvent
, Serialized FormFields inherited from class jain.protocol.ss7.tcap.ComponentReqEvent |
m_dialogueId, m_dialogueIdPresent, m_invokeId, m_invokeIdPresent |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
InvokeReqEvent(java.lang.Object source,
int dialogueId,
Operation operation)
Constructs a new Invoke Request Event, 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 . |
int |
getClassType()
Returns the Component Class type. |
int |
getLinkedId()
Gets the linked Id parameter of the INVOKE indication component. |
int |
getLinkId()
Deprecated. As of JAIN TCAP v1.1. Use the getLinkedId
method instead. |
Operation |
getOperation()
Gets the Operation parameter of the INVOKE request Component. |
Parameters |
getParameters()
Gets the Parameters' parameter of the INVOKE request Component. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
long |
getTimeOut()
Gets the Timeout parameter of the INVOKE request component. |
boolean |
isClassTypePresent()
Indicates if the Class type field is present in this Event. |
boolean |
isInvokeIdPresent()
Indicates if the Invoke Id is present in this Event. |
boolean |
isLastInvokeEvent()
Indicates if this is the last Invoke Event. |
boolean |
isLinkedIdPresent()
Indicates if this optional linked Id (correlation Id) parameter is present in this Event. |
boolean |
isLinkIdPresent()
Deprecated. As of JAIN TCAP v1.1. Use the isLinkedPresent method instead. |
boolean |
isParametersPresent()
Indicates if the 'Parameters' field is present in this Event. |
boolean |
isTimeOutPresent()
Indicates if the Timeout field is present in this Event. |
void |
setClassType(int classType)
Sets the Class Type parameter of the INVOKE request component. |
void |
setLastInvokeEvent(boolean lastInvokeEvent)
Sets the lastInvoke flag of this Invoke Event. |
void |
setLinkedId(int linkedId)
Sets the linked Id parameter of the INVOKE indication component. |
void |
setLinkId(int value)
Deprecated. As of JAIN TCAP v1.1. Use the setLinkedId method instead. |
void |
setOperation(Operation operation)
Sets the Operation parameter of the Invoke request Component |
void |
setParameters(Parameters params)
Sets the Parameters' parameter of the Invoke request Component. |
void |
setTimeOut(long timeOut)
Sets the Timeout parameter of the INVOKE request component. |
java.lang.String |
toString()
String representation of class InvokeReqEvent |
Methods inherited from class jain.protocol.ss7.tcap.ComponentReqEvent |
getDialogueId, getInvokeId, setDialogueId, setInvokeId, 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 |
Constructor Detail |
public InvokeReqEvent(java.lang.Object source, int dialogueId, Operation operation)
source
- the Event Source supplied to the constructordialogueId
- the Dialogue Identifier supplied to the constructoroperation
- the Operation supplied to the constructorMethod Detail |
public void setLastInvokeEvent(boolean lastInvokeEvent)
lastInvoke
- true if this is an INVOKE_L Event,
false if this is an INVOKE_NL Event.public void setLinkId(int value)
setLinkedId
method instead.
public void setLinkedId(int linkedId)
linkedId
- The new Linked Identifier valuepublic void setTimeOut(long timeOut)
timeOut
- The new Time Out valuepublic void setOperation(Operation operation)
operation
- The new Operation valuepublic void setParameters(Parameters params)
params
- The new Parameters valuepublic void setClassType(int classType)
one
- of the following:
public boolean isInvokeIdPresent()
public boolean isLastInvokeEvent()
public boolean isLinkIdPresent()
isLinkedPresent
method instead.
public int getLinkId() throws ParameterNotSetException
getLinkedId
method instead.
public boolean isLinkedIdPresent()
public int getLinkedId() throws ParameterNotSetException
Note to developers :- The mapping of the Linked Identifier is as follows:
ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic boolean isTimeOutPresent()
public long getTimeOut() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic Operation getOperation() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setpublic boolean isParametersPresent()
public Parameters getParameters() throws ParameterNotSetException
Parameters
contains any parameters that accompany an operation or
that are provided in reply to an operation.ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic boolean isClassTypePresent()
public int getClassType() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic int getPrimitiveType()
getPrimitiveType
in class ComponentReqEvent
public void clearAllParameters()
public java.lang.String toString()
toString
in class ComponentReqEvent
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |