jain.protocol.ss7.tcap.dialogue
Class DialoguePortion

java.lang.Object
  |
  +--jain.protocol.ss7.tcap.dialogue.DialoguePortion

public final class DialoguePortion
extends java.lang.Object
implements java.io.Serializable

This class represents the optional Dialogue Portion of an ANSI 96 dialogue handling primitive.

Version:
1.0
Author:
Colm Hayden & Phelim O'Doherty
See Also:
Serialized Form

Constructor Summary
DialoguePortion()
          Constructs a new DialoguePortion
 
Method Summary
 void clearAllParameters()
          Clears all previously set parameters .
 byte[] getAppContextName()
          Gets the Application Context Name parameter of the Dialogue Portion.
 byte[] getConfidentialityInformation()
          Gets the Confidentiality Information parameter of the Dialogue Portion ..
 int getProtocolVersion()
          Gets the Protocol Version parameter of the Dialogue Portion.
 byte[] getSecurityContextInfo()
          Gets the Security Context Information parameter of the Dialogue Portion .
 byte[] getUserInformation()
          Gets the User Information parameter of this Dialogue Portion.
 boolean isAppContextNamePresent()
          Indicates if the Application Context Name parameter is present in this Event.
 boolean isConfidentialityInformationPresent()
          Indicates if the Confidentiality Information parameter is present in this Event.
 boolean isProtocolVersionPresent()
          Indicates if the Protocol Version parameter is present in this Event.
 boolean isSecurityContextInfoPresent()
          Indicates if the Security Context Information parameter is present in this Event.
 boolean isUserInformationPresent()
          Indicates if the User Information parameter is present in this Event.
 void setAppContextName(byte[] appContextName)
          Sets the Application Context Name parameter of the Dialogue Portion .
 void setConfidentialityInformation(byte[] confidentialityInfo)
          Sets the Confidentiality Information parameter of the Dialogue Portion .
 void setProtocolVersion(int protocolVersion)
          Sets the Protocol Version parameter of the Dialogue Portion.
 void setSecurityContextInfo(byte[] securityContextInformation)
          Sets the Security Context Information parameter of the Dialogue Portion .
 void setUserInformation(byte[] userInformation)
          Sets the User Information parameter of of this Dialogue Portion.
 java.lang.String toString()
          Returns a string representation of an instance of this class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DialoguePortion

public DialoguePortion()
Constructs a new DialoguePortion
Method Detail

isProtocolVersionPresent

public boolean isProtocolVersionPresent()
Indicates if the Protocol Version parameter is present in this Event.
Returns:
true if Protocol Version has been set.

getProtocolVersion

public int getProtocolVersion()
                       throws ParameterNotSetException
Gets the Protocol Version parameter of the Dialogue Portion.
Returns:
the Protocol Version of the Dialogue Portion. This may be one of the following values:
  • PROTOCOL_VERSION_UNRECOGNISED
  • PROTOCOL_VERSION_UNSUPPORTED
  • PROTOCOL_VERSION_ANSI_92
  • PROTOCOL_VERSION_ANSI_96
  • PROTOCOL_VERSION_ITU_93
  • PROTOCOL_VERSION_ITU_97
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

setProtocolVersion

public void setProtocolVersion(int protocolVersion)
Sets the Protocol Version parameter of the Dialogue Portion.
Parameters:
protocolVersion - the Protocol Version of the Dialogue Portion. This may be one of the following values:
  • PROTOCOL_VERSION_UNRECOGNISED
  • PROTOCOL_VERSION_UNSUPPORTED
  • PROTOCOL_VERSION_ANSI_92
  • PROTOCOL_VERSION_ANSI_96
  • PROTOCOL_VERSION_ITU_93
  • PROTOCOL_VERSION_ITU_97

isAppContextNamePresent

public boolean isAppContextNamePresent()
Indicates if the Application Context Name parameter is present in this Event.
Returns:
true if Application Context Name has been set.

getAppContextName

public byte[] getAppContextName()
                         throws ParameterNotSetException
Gets the Application Context Name parameter of the Dialogue Portion.
Returns:
the Application Context Name of the Dialogue Portion.
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

setAppContextName

public void setAppContextName(byte[] appContextName)
Sets the Application Context Name parameter of the Dialogue Portion .
Parameters:
appContextName - the Application Context Name of the Dialogue Portion

isSecurityContextInfoPresent

public boolean isSecurityContextInfoPresent()
Indicates if the Security Context Information parameter is present in this Event.
Returns:
true if Security Context Information has been set.

getSecurityContextInfo

public byte[] getSecurityContextInfo()
                              throws ParameterNotSetException
Gets the Security Context Information parameter of the Dialogue Portion .
Returns:
the Security Context Information parameter of the Dialogue Portion
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

setSecurityContextInfo

public void setSecurityContextInfo(byte[] securityContextInformation)
Sets the Security Context Information parameter of the Dialogue Portion .
Parameters:
securityContextInformation - the Security Context Information parameter of the Dialogue Portion

isConfidentialityInformationPresent

public boolean isConfidentialityInformationPresent()
Indicates if the Confidentiality Information parameter is present in this Event.
Returns:
true if Confidentiality Information has been set.

getConfidentialityInformation

public byte[] getConfidentialityInformation()
                                     throws ParameterNotSetException
Gets the Confidentiality Information parameter of the Dialogue Portion ..
Returns:
the Confidentiality Information of the Dialogue Portion.
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

setConfidentialityInformation

public void setConfidentialityInformation(byte[] confidentialityInfo)
Sets the Confidentiality Information parameter of the Dialogue Portion .
Parameters:
userInfo - the Confidentiality Information of the Dialogue Portion.

isUserInformationPresent

public boolean isUserInformationPresent()
Indicates if the User Information parameter is present in this Event.
Returns:
true if User Information has been set.

getUserInformation

public byte[] getUserInformation()
                          throws ParameterNotSetException
Gets the User Information parameter of this Dialogue Portion. User Information is the information which can be exchanged between TCAP applications independently from the remote operation service.
Returns:
the User Information.
Throws:
ParameterNotSetException - this exception is thrown if this parameter has not yet been set

setUserInformation

public void setUserInformation(byte[] userInformation)
Sets the User Information parameter of of this Dialogue Portion.
Parameters:
userInfo - the User Information.

clearAllParameters

public void clearAllParameters()
Clears all previously set parameters .

toString

public java.lang.String toString()
Returns a string representation of an instance of this class.
Overrides:
toString in class java.lang.Object


28 June 2000
If you have any comments or queries, please mail them to JainTcapApiFeedback@AePONA.Com

Copyright - 2000 Sun Microsystems