|
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 | +--jain.protocol.ss7.tcap.dialogue.DialoguePortion
This class represents the optional Dialogue Portion of a dialogue handling primitive. An ITU 1992 or ITU 1996 implementation of the JAIN TCAP API should only use the Application Context and User Information parameters within this class. An ANSI 1992 implementation does not include a Dialogue Portion therefore should not use this class and an ANSI 1996 implementation may use all the parameters within this class.
Constructor Summary | |
DialoguePortion()
Constructs a new DialoguePortion |
Method Summary | |
void |
clearAllParameters()
Clears all previously set parameters . |
int |
getAppContextIdentifier()
Gets the Application Context Identifier parameter of the Dialogue Portion. |
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. |
int |
getSecurityContextIdentifier()
Gets the Security Context Identifier 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 |
setAppContextIdentifier(int appContextIdentifier)
Sets the Application Context Identifier parameter of the Dialogue Portion. |
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 |
setSecurityContextIdentifier(int securityContextIdentifier)
Sets the Security Context Identifier 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()
String representation of class DialoguePortion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public DialoguePortion()
Method Detail |
public void setProtocolVersion(int protocolVersion)
protocolVersion
- This can only have he following value until
futher releases of the ANSI TCAP Specification:
public void setAppContextIdentifier(int appContextIdentifier)
appContextIdentifier
- The new Application Context Identifierpublic void setAppContextName(byte[] appContextName)
appContextName
- The new Application Context Name valuepublic void setSecurityContextIdentifier(int securityContextIdentifier)
securityContextIdentifier
- The new Security Context Identifier valuepublic void setSecurityContextInfo(byte[] securityContextInformation)
securityContextInformation
- The new Security Context Informationpublic void setConfidentialityInformation(byte[] confidentialityInfo)
confidentialityInfo
- The new Confidentiality Informationpublic void setUserInformation(byte[] userInformation)
userInformation
- The new User Informationpublic boolean isProtocolVersionPresent()
public int getProtocolVersion() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic int getAppContextIdentifier()
Note to developers :- Application Context Identifier does not have an isPresent method, and can be ignored if no application context is present.
isAppContextNamePresent
method before accessing the
appContextIdentifier
.public boolean isAppContextNamePresent()
public byte[] getAppContextName() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic int getSecurityContextIdentifier()
Note to developers :- Security Context Identifier does not have an isPresent method, as it can be ignored if no Security context is present.
isSecurityContextInfoPresent
method before accessing the
securityContextIdentifier
.public boolean isSecurityContextInfoPresent()
public byte[] getSecurityContextInfo() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic boolean isConfidentialityInformationPresent()
public byte[] getConfidentialityInformation() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not been setpublic boolean isUserInformationPresent()
public byte[] getUserInformation() throws ParameterNotSetException
ParameterNotSetException
- this exception is thrown if this
parameter has not yet been setpublic void clearAllParameters()
public java.lang.String toString()
toString
in class java.lang.Object
|
JAIN TCAP API v1.1 - 5th Sept 2001 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |