|
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.BeginIndEvent
An event representing a TCAP Begin indication dialogue primitive. This event
will be passed from the Provider (TCAP) to the Listener (the TC User) to
indicate the initiation of a structured dialogue with the originating node.
The mandatory parameters of this primitive are supplied to the constructor.
Optional parameters may then be set using the set methods.
The optional parameters 'Application Context Name' and 'User Information' are centrally located in the Dialogue Portion class, therefore to manipulate them it is necessary to instantiate the Dialogue Portion Object and use the acessors method for the two parameters in that Dialogue Portion Object.
DialogueIndEvent
,
DialoguePortion
, 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 | |
BeginIndEvent(java.lang.Object source,
int dialogueId,
SccpUserAddress originAddress,
SccpUserAddress destAddress,
boolean componentsPresent)
Constructs a new BeginIndEvent, 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 and resets the 'Components Present' flag to false. |
SccpUserAddress |
getDestinationAddress()
Gets the Destination Address parameter of the Begin indication primitive. |
SccpUserAddress |
getOriginatingAddress()
Gets the Originating Address parameter of the Begin indication primitive. |
int |
getPrimitiveType()
This method returns the type of this primitive, the primitive type constants are defined with the JainTcapProvider. |
byte |
getQualityOfService()
Gets the Quality of Service parameter of the Begin indication primitive. |
boolean |
isAllowedPermission()
Gets the Allowed Permission parameter of the Begin dialogue primitive. |
boolean |
isAllowedPermissionPresent()
Indicates if the Allowed Permission parameter is present in this Event. |
boolean |
isComponentsPresent()
Returns the Components present flag of this Begin indication primitive. |
boolean |
isQualityOfServicePresent()
Indicates if the Quality of Service parameter is present in this Event. |
void |
setAllowedPermission(boolean allowedPermission)
|
void |
setComponentsPresent(boolean componentsPresent)
Sets the Components present parameter of this Begin indication primitive. |
void |
setDestinationAddress(SccpUserAddress destination)
Sets the Destination Address parameter of the Begin indication primitive. |
void |
setOriginatingAddress(SccpUserAddress origin)
Sets the Originating Address parameter of the Begin indication primitive. |
void |
setQualityOfService(byte qualityOfService)
Sets the Quality of Service parameter of the Begin indication primitive. |
java.lang.String |
toString()
String representation of class BeginIndEvent |
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 BeginIndEvent(java.lang.Object source, int dialogueId, SccpUserAddress originAddress, SccpUserAddress destAddress, boolean componentsPresent)
source
- the Event Source supplied to the constructordialogueId
- the Dialogue Identifier supplied to the constructororiginAddress
- the Originating Address supplied to the constructordestAddress
- the Destination Address supplied to the constructorcomponentsPresent
- the Components Present Flag 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 setQualityOfService(byte qualityOfService)
qualityOfService
- The new Quality Of Service valuepublic void setAllowedPermission(boolean allowedPermission)
public void setComponentsPresent(boolean componentsPresent)
componentsPresent
- The new Components Present valuepublic SccpUserAddress getDestinationAddress() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this Mandatory JAIN parameter has not yet been setpublic SccpUserAddress getOriginatingAddress() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this Mandatory JAIN parameter has not yet been setpublic boolean isQualityOfServicePresent()
public byte getQualityOfService() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic boolean isAllowedPermissionPresent()
public boolean isAllowedPermission() throws ParameterNotSetException
Permission should not have been granted whenever the sending TC-User anticipates sending more components that it would like the receiving TC-User to treat as part of the same transaction.
Permission should have been granted when the converse applies.
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic boolean isComponentsPresent()
public 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 |