|
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.DialogueIndEvent | +--jain.protocol.ss7.tcap.dialogue.NoticeIndEvent
An event representing a TCAP Notice indication dialogue primitive. This
event will be passed from the Provider (TCAP) to the Listener(the TC User)
to indicate that the Network Service Provider has been unable to provide the
requested service.
The mandatory parameters of this primitive are supplied to the constructor.
Optional parameters may then be set using the set methods.
DialogueIndEvent
, Serialized FormFields inherited from class jain.protocol.ss7.tcap.DialogueIndEvent |
m_dialogueId, m_dialogueIdPresent, m_dialoguePortion, m_dialoguePortionPresent |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
NoticeIndEvent(java.lang.Object source,
int dialogueId,
byte[] reportCause)
Constructs a new NoticeIndEvent, 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 . |
SccpUserAddress |
getDestinationAddress()
Gets the Destination Address parameter of the Notice indication primtive. |
SccpUserAddress |
getOriginatingAddress()
Gets the Originating Address parameter of the Notice indication primitive. |
int |
getPrimitiveType()
This method returns the type of this primitive. |
byte[] |
getReportCause()
Gets the Report Cause parameter of this Notice indication primitive. |
boolean |
isDestinationAddressPresent()
Indicates if the Destination Address parameter is present in this Event. |
boolean |
isOriginatingAddressPresent()
Indicates if the Originating Address parameter is present in this Event. |
boolean |
isReportCausePresent()
Indicates if the Report Cause parameter is present in this Event. |
void |
setDestinationAddress(SccpUserAddress destination)
Sets the Destination Address parameter of the Notice indication primitive. |
void |
setOriginatingAddress(SccpUserAddress origin)
Sets the Originating Address parameter of the Notice indication primitive. |
void |
setReportCause(byte[] reportCause)
Sets the Report Cause parameter of this Notice indication primitive. |
java.lang.String |
toString()
String representation of class NoticeIndEvent |
Methods inherited from class jain.protocol.ss7.tcap.DialogueIndEvent |
getDialogueId, getDialoguePortion, isDialoguePortionPresent, setDialogueId, setDialoguePortion, 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 NoticeIndEvent(java.lang.Object source, int dialogueId, byte[] reportCause)
source
- the Event Source supplied to the constructordialogueId
- the Dialogue Identifier supplied to the constructorreportCause
- the Report Cause supplied to the constructorMethod Detail |
public void setDestinationAddress(SccpUserAddress destination)
destination
- The new Destination Address valuepublic void setOriginatingAddress(SccpUserAddress origin)
origin
- The new Originating Address valuepublic void setReportCause(byte[] reportCause)
reportCause
- The new Report Cause valuepublic boolean isDestinationAddressPresent()
public SccpUserAddress getDestinationAddress() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic boolean isOriginatingAddressPresent()
public SccpUserAddress getOriginatingAddress() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic boolean isReportCausePresent()
public byte[] getReportCause() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
Mandatory parameter has not yet been setpublic int getPrimitiveType()
getPrimitiveType
in class DialogueIndEvent
public void clearAllParameters()
public java.lang.String toString()
toString
in class DialogueIndEvent
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |