JAIN TCAP API
v1.1 - 5th Sept 2001

jain.protocol.ss7.tcap.dialogue
Class ContinueIndEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--jain.protocol.ss7.tcap.DialogueIndEvent
              |
              +--jain.protocol.ss7.tcap.dialogue.ContinueIndEvent
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public final class ContinueIndEvent
extends DialogueIndEvent

An event representing a TCAP Continue indication dialogue primitive. This event will be passed from the Provider (TCAP) to the Listener(the TC User) to indicate the continuation 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.

Version:
1.1
Author:
Sun Microsystems Inc.
See Also:
DialogueIndEvent, Serialized Form

Fields 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
ContinueIndEvent(java.lang.Object source, int dialogueId, boolean componentsPresent)
          Constructs a new ContinueIndEvent, 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.
 int getPrimitiveType()
          This method returns the type of this primitive.
 byte getQualityOfService()
          Gets the Quality of Service parameter of the Continue 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 Continue indication primitive.
 boolean isQualityOfServicePresent()
          Indicates if the Quality of Service parameter is present in this Event.
 void setAllowedPermission(boolean allowedPermission)
          Sets the Allowed Permission parameter of the Begin dialogue primitive.
 void setComponentsPresent(boolean componentsPresent)
          Sets the Components present parameter of this Continue indication primitive.
 void setQualityOfService(byte qualityOfService)
          Sets the Quality of Service parameter of the Continue indication primitive.
 java.lang.String toString()
          String representation of class ContinueIndEvent
 
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

ContinueIndEvent

public ContinueIndEvent(java.lang.Object source,
                        int dialogueId,
                        boolean componentsPresent)
Constructs a new ContinueIndEvent, with only the Event Source and the JAIN TCAP Mandatory parameters being supplied to the constructor.
Parameters:
source - the Event Source supplied to the constructor
dialogueId - the Dialogue Identifier supplied to the constructor
componentsPresent - the Components Present Flag supplied to the constructor
Method Detail

setQualityOfService

public void setQualityOfService(byte qualityOfService)
Sets the Quality of Service parameter of the Continue indication primitive.
Parameters:
qualityOfService - The new Quality Of Service value

setAllowedPermission

public void setAllowedPermission(boolean allowedPermission)
Sets the Allowed Permission parameter of the Begin dialogue primitive. The Allowed Permission parameter indicates whether or not permission has been granted to the receiving TC-User by the sending TC-User to terminate this dialogue.

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.

Note to developers: Permission to end (release) a transaction is an ANSI concept only.

Parameters:
allowedPermission - The new Allowed Permission value

setComponentsPresent

public void setComponentsPresent(boolean componentsPresent)
Sets the Components present parameter of this Continue indication primitive. This flag is used to determine if their are any components associated with this primitive. This flag will be reset to false when the clearAllParameters() method is invoked.
Parameters:
componentsPresent - The new Components Present value

isQualityOfServicePresent

public boolean isQualityOfServicePresent()
Indicates if the Quality of Service parameter is present in this Event.
Returns:
true if Quality of Service has been set, false otherwise.

getQualityOfService

public byte getQualityOfService()
                         throws ParameterNotSetException
Gets the Quality of Service parameter of the Continue indication primitive. Quality of Service is an SCCP parameter that is required from the application.
Returns:
the Quality of Service parameter of the Continue Indication Event
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

isAllowedPermissionPresent

public boolean isAllowedPermissionPresent()
Indicates if the Allowed Permission parameter is present in this Event.
Returns:
true if Allowed Permission Flag has been set, false otherwise.

isAllowedPermission

public boolean isAllowedPermission()
                            throws ParameterNotSetException
Gets the Allowed Permission parameter of the Begin dialogue primitive. The Allowed Permission parameter indicates whether or not permission has been granted to the receiving TC-User by the sending TC-User to terminate this dialogue.

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.

Returns:
whether permission to release has been granted. This may be either:
  • true if the receiving node has the permission to end the dialogue
  • false if the receiving node has not the permission to end the dialogue
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

isComponentsPresent

public boolean isComponentsPresent()
Returns the Components present flag of this Continue indication primitive. This flag is used to determine if their are any components associated with this primitive. This flag will be reset to false when the clearAllParameters() method is invoked.
Returns:
the Components Present Flag of the Continue Indication Event.

getPrimitiveType

public int getPrimitiveType()
This method returns the type of this primitive.
Overrides:
getPrimitiveType in class DialogueIndEvent
Returns:
The Primitive Type of the Event

clearAllParameters

public void clearAllParameters()
Clears all previously set parameters and resets the 'Components Present' flag to false.

toString

public java.lang.String toString()
String representation of class ContinueIndEvent
Overrides:
toString in class DialogueIndEvent
Returns:
String provides description of class ContinueIndEvent

JAIN TCAP API
v1.1 - 5th Sept 2001

Email comments to [email protected]