|
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.ComponentIndEvent | +--jain.protocol.ss7.tcap.component.ResultIndEvent
An event representing a TCAP Result indication component primitive. The mandatory parameters of this primitive are supplied to the constructor. Optional parameters may then be set using the set methods.
ComponentIndEvent
, Serialized FormFields inherited from class jain.protocol.ss7.tcap.ComponentIndEvent |
m_dialogueId, m_dialogueIdPresent, m_invokeId, m_invokeIdPresent, m_lastComponent, m_lastComponentPresent |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
ResultIndEvent(java.lang.Object source,
int dialogueId,
boolean lastComponent,
boolean lastResultEvent)
Constructs a new Result indication 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 |
getDialogueId()
Gets the Dialogue Id parameter of this Result Indication, 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 this result indication. |
int |
getLinkId()
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
Operation |
getOperation()
Gets the Operation parameter of the Result indication Component. |
Parameters |
getParameters()
Gets the Parameters' parameter of the Result indication Component. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
boolean |
isLastResultEvent()
The LastResultEvent parameter determines whether a RESULT_L or a RESULT_NL component is being sent through the API. |
boolean |
isLinkIdPresent()
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
boolean |
isOperationPresent()
Indicates if the optional Operation field is present in this Event. |
boolean |
isParametersPresent()
Indicates if the 'Parameters' field is present in this Event. |
void |
setLastResultEvent(boolean lastResultEvent)
The LastResultEvent parameter determines whether a RESULT_L or a RESULT_NL component is being sent through the API. |
void |
setLinkId(int value)
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
void |
setOperation(Operation operation)
Sets the Operation parameter of the Result Indication Component |
void |
setParameters(Parameters params)
Sets the Parameters' parameter of the Result Indication Component. |
java.lang.String |
toString()
String representation of class ResultIndEvent |
Methods inherited from class jain.protocol.ss7.tcap.ComponentIndEvent |
isInvokeIdPresent, isLastComponent, setDialogueId, setInvokeId, setLastComponent, 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 ResultIndEvent(java.lang.Object source, int dialogueId, boolean lastComponent, boolean lastResultEvent)
source
- the Event source supplied to the constructordialogueId
- the Dialogue Identifier supplied to the constructorlastComponent
- the Last Component Flag supplied to the constructorlastResultEvent
- the Last Result Event Flag supplied to the constructorMethod Detail |
public void setLastResultEvent(boolean lastResultEvent)
Note to developers :- This field is mandatory to both an ITU and ANSI implementation of the JAIN TCAP API (unlike the lastInvokeEvent parameter in the InvokeIndEvent). It is defaulted to false that is a RESULT_NL component, in order to send an RESULT_L component the lastResultEvent parameter must be set to true.
lastResultEvent
- The new LastResultEvent valuepublic void setOperation(Operation operation)
operation
- The new Operation valuepublic void setParameters(Parameters params)
params
- The new Parameters valuepublic void setLinkId(int value)
public int getDialogueId() throws MandatoryParameterNotSetException
getDialogueId
in class ComponentIndEvent
MandatoryParameterNotSetException
- if this JAIN Mandatory
parameter has not been set.public int getInvokeId() throws ParameterNotSetException
getInvokeId
in class ComponentIndEvent
ParameterNotSetException
- this exception is thrown if this is a
JAIN Optional parameter has not been setpublic boolean isLastResultEvent()
Note to developers :- This field is mandatory to both an ITU and ANSI implementation of the JAIN TCAP API (unlike the lastInvokeEvent parameter in the InvokeIndEvent). It is defaulted to false that is a RESULT_NL component, in order to send an RESULT_L component the lastResultEvent parameter must be set to true.
public boolean isOperationPresent()
public Operation getOperation() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
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 isLinkIdPresent()
public int getLinkId() throws ParameterNotSetException
public int getPrimitiveType()
getPrimitiveType
in class ComponentIndEvent
public void clearAllParameters()
public java.lang.String toString()
toString
in class ComponentIndEvent
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |