|
||||||||||
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.ErrorIndEvent
An event representing a TCAP Error indication component primitive. The mandatory parameters of this primitive are supplied to the constructor. Optional parameters may then be set using the set methods.
Constructor Summary | |
ErrorIndEvent(java.lang.Object source,
int dialogueId,
int errorType,
byte[] errorCode,
boolean lastComponent)
Constructs a new Error 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 Error Indication, which is a reference identifier that is used to associate all components within a transaction. |
byte[] |
getErrorCode()
Returns the error code of this ERROR indication Component. |
int |
getErrorType()
Returns the error type of this ERROR indication Component. |
int |
getInvokeId()
Gets the Invoke Id parameter of this error indication. |
int |
getLinkId()
Gets the link Id parameter of the ERROR indication component. |
Parameters |
getParameters()
Gets the 'Parameters' parameter of the ERROR indication Component. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
boolean |
isLinkIdPresent()
Indicates if the link Id parameter is present in this Event. |
boolean |
isParametersPresent()
Indicates if the 'Parameters' field is present in this Event. |
void |
setErrorCode(byte[] errorCode)
Sets the error code of this ERROR indication Component. |
void |
setErrorType(int errorType)
Sets the error type of this ERROR indication Component. |
void |
setLinkId(int value)
Sets the link Id parameter of the ERROR indication component. |
void |
setParameters(Parameters params)
Sets the Parameters' parameter of the ERROR indication Component. |
java.lang.String |
toString()
Returns a string representation of an instance of this class. |
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 |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ErrorIndEvent(java.lang.Object source, int dialogueId, int errorType, byte[] errorCode, boolean lastComponent)
Method Detail |
public int getDialogueId() throws MandatoryParameterNotSetException
public int getInvokeId() throws ParameterNotSetException
public boolean isLinkIdPresent()
public int getLinkId() throws ParameterNotSetException
public void setLinkId(int value)
value
- the link Id of the ERROR indicationpublic boolean isParametersPresent()
public Parameters getParameters() throws ParameterNotSetException
Parameters
contains any parameters that accompany
an operation or that are provided in reply to an operation.public void setParameters(Parameters params)
params
- the Parameters of the ERROR indication Component.public int getErrorType() throws MandatoryParameterNotSetException
public void setErrorType(int errorType)
errorType
- the type of error, this may be either
ERROR_LOCAL
or ERROR_GLOBAL
.public byte[] getErrorCode() throws MandatoryParameterNotSetException
public void setErrorCode(byte[] errorCode)
errorCode
- the Error Codepublic int getPrimitiveType()
public void clearAllParameters()
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |