|
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.ErrorReqEvent
An event representing a TCAP Error 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 | |
ErrorReqEvent(java.lang.Object source,
int dialogueId,
int errorType,
byte[] errorCode)
Constructs a new Error 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 . |
byte[] |
getErrorCode()
Returns the error code of this ERROR request Component. |
int |
getErrorType()
Returns the error type of this Error Request Component. |
int |
getLinkId()
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
Parameters |
getParameters()
Gets the Parameters' parameter of the ERROR request Component. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
boolean |
isInvokeIdPresent()
Indicates if the Invoke Id is present in this Event. |
boolean |
isLinkIdPresent()
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
boolean |
isParametersPresent()
Indicates if the 'Parameters' field is present in this Event. |
void |
setErrorCode(byte[] errorCode)
Sets the error code of this Error Request Component. |
void |
setErrorType(int errorType)
Sets the error type of this Error Request Component. |
void |
setLinkId(int value)
Deprecated. As of JAIN TCAP v1.1. No replacement - no function for parameter. |
void |
setParameters(Parameters params)
Sets the Parameters' parameter of the Error Request Component. |
java.lang.String |
toString()
String representation of class ErrorReqEvent |
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 ErrorReqEvent(java.lang.Object source, int dialogueId, int errorType, byte[] errorCode)
source
- the Event Source supplied to the constructordialogueId
- the Dialogue Identifier supplied to the constructorerrorType
- the Error Type supplied to the constructorerrorCode
- the Error Code supplied to the constructorMethod Detail |
public void setParameters(Parameters params)
params
- The new Parameters valuepublic void setErrorType(int errorType)
errorType
- one of the following:
ComponentConstants
public void setErrorCode(byte[] errorCode)
errorCode
- The new Error Code valuepublic void setLinkId(int value)
public boolean isInvokeIdPresent()
public 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 int getErrorType() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setpublic byte[] getErrorCode() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setpublic boolean isLinkIdPresent()
public int getLinkId() throws ParameterNotSetException
public 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 |