|
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.DialogueReqEvent | +--jain.protocol.ss7.tcap.dialogue.BeginReqEvent
An event representing a TCAP Begin request dialogue primitive. This event
will be passed from the Listener (the TC User) to the Provider (TCAP) to
trigger the sending of components to the destination node. This primitive is
used to establish a transaction with the destination 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.
DialogueReqEvent
, Serialized FormFields inherited from class jain.protocol.ss7.tcap.DialogueReqEvent |
m_dialogueId, m_dialogueIdPresent, m_dialoguePortion, m_dialoguePortionPresent, m_qualityOfService, m_qualityOfServicePresent |
Fields inherited from class java.util.EventObject |
source |
Constructor Summary | |
BeginReqEvent(java.lang.Object source,
int dialogueId,
SccpUserAddress originAddress,
SccpUserAddress destAddress)
Constructs a new BeginReqEvent, 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 Begin request primtive. |
SccpUserAddress |
getOriginatingAddress()
Gets the Originating Address parameter of the Begin request primitive. |
int |
getPrimitiveType()
This method returns the type of this 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. |
void |
setAllowedPermission(boolean allowedPermission)
Sets the Allowed Permission parameter of the Begin dialogue primitive. |
void |
setDestinationAddress(SccpUserAddress destination)
Sets the Destination Address parameter of the Begin Request primitive. |
void |
setOriginatingAddress(SccpUserAddress origin)
Sets the Originating Address parameter of the Begin Request primitive. |
java.lang.String |
toString()
String representation of class BeginReqEvent |
Methods inherited from class jain.protocol.ss7.tcap.DialogueReqEvent |
getDialogueId, getDialoguePortion, getQualityOfService, isDialoguePortionPresent, isQualityOfServicePresent, setDialogueId, setDialoguePortion, setQualityOfService, 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 BeginReqEvent(java.lang.Object source, int dialogueId, SccpUserAddress originAddress, SccpUserAddress destAddress)
source
- the Event Source supplied to the constructordialogueId
- the Dialogue Identifier supplied to the constructororiginAddress
- the Originating Address supplied to the constructordestAddress
- the Desstination Address 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 setAllowedPermission(boolean allowedPermission)
Permission should not be granted whenever the sending TC-User anticipates sending more components that it would like the TC-User at the receiving node to treat as part of the same transaction.
Permission should be granted when the converse applies.
Note to developers: Permission to end (release) a transaction is an ANSI concept only.
allowedPermission
- The new Allowed Permission Flagpublic SccpUserAddress getDestinationAddress() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not yet been setpublic SccpUserAddress getOriginatingAddress() throws MandatoryParameterNotSetException
MandatoryParameterNotSetException
- this exception is thrown if
this JAIN Mandatory parameter has not been setpublic boolean isAllowedPermissionPresent()
public boolean isAllowedPermission() throws ParameterNotSetException
Permission should not be granted whenever the sending TC-User anticipates sending more components that it would like the TC-User at the receiving node to treat as part of the same transaction.
Permission should be granted when the converse applies.
NOTE: permission to end (release) a transaction is an ANSI concept only.
ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic int getPrimitiveType()
getPrimitiveType
in class DialogueReqEvent
public void clearAllParameters()
public java.lang.String toString()
toString
in class DialogueReqEvent
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |