Class TcapApplicationContext
- java.lang.Object
-
- com.opencloud.util.ImmutableDataObject
-
- TcapApplicationContext
-
- All Implemented Interfaces:
DataObject
,Immutable
,Serializable
public final class TcapApplicationContext extends ImmutableDataObject
Describes a single TCAP application context. This corresponds to the APPLICATION-CONTEXT information object class defined in the ITU Q.775 ASN.1 module TC-Notation-Extensions {itu-t recommendation q 775 modules(2) notation-extension(4) version1(1)}- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TcapApplicationContext(String protocolName, String moduleName, String valuerefName, ObjectID acn, TcapOperation[] initiatorSuppliesOperations, TcapOperation[] responderSuppliesOperations, TcapStackType tcapStackType)
Create a new immutable TcapApplicationContext
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
ObjectID
getApplicationContextName()
Get the Application Context Name of this application contextString
getASN1Module()
Get the name of the ASN.1 module containing the definition of this application contextString
getASN1Name()
Get the ASN.1 value reference name defining this application contextboolean
getInDialogPortion()
Gets whether related TCAP messages have a dialog portion containing this AC.TcapOperation[]
getInitiatorOperations()
Get the set of operations the dialog initiator may invoke.String
getProtocolName()
Get the name of the AC's protocol.TcapOperation[]
getResponderOperations()
Get the set of operations the dialog initiator may invoke.TcapStackType
getTcapStackType()
Gets the type of TCAP stack required by this AC.int
hashCode()
String
toString()
-
Methods inherited from class com.opencloud.util.ImmutableDataObject
clone, isReadOnly, setReadOnly
-
-
-
-
Constructor Detail
-
TcapApplicationContext
public TcapApplicationContext(String protocolName, String moduleName, String valuerefName, ObjectID acn, TcapOperation[] initiatorSuppliesOperations, TcapOperation[] responderSuppliesOperations, TcapStackType tcapStackType)
Create a new immutable TcapApplicationContext- Parameters:
protocolName
- the name of this AC's protocolmoduleName
- the name of the ASN.1 module defining this ACvaluerefName
- the valueref name within the ASN.1 module for this AC definitionacn
- the application context name of this application contextinitiatorSuppliesOperations
- the set of operations that the dialog initiator may invokeresponderSuppliesOperations
- the set of operations that the dialog responder may invoketcapStackType
- the type of TCAP stack required by this AC- Throws:
NullPointerException
- ifacn
isnull
-
-
Method Detail
-
getASN1Name
public String getASN1Name()
Get the ASN.1 value reference name defining this application context- Returns:
- the unqualified value reference name
-
getASN1Module
public String getASN1Module()
Get the name of the ASN.1 module containing the definition of this application context- Returns:
- the ASN.1 module name
-
getProtocolName
public String getProtocolName()
Get the name of the AC's protocol.- Returns:
- the protocol name
-
getApplicationContextName
public ObjectID getApplicationContextName()
Get the Application Context Name of this application context- Returns:
- the ACN
-
getInitiatorOperations
public TcapOperation[] getInitiatorOperations()
Get the set of operations the dialog initiator may invoke. If there are no allowable operations, then a zero-sized array will be returned.- Returns:
- a non-null set of TcapOperation instances
-
getResponderOperations
public TcapOperation[] getResponderOperations()
Get the set of operations the dialog initiator may invoke. If there are no allowable operations, then a zero-sized array will be returned.- Returns:
- a non-null set of TcapOperation instances
-
getTcapStackType
public TcapStackType getTcapStackType()
Gets the type of TCAP stack required by this AC.- Returns:
- TcapStackType
-
getInDialogPortion
public boolean getInDialogPortion()
Gets whether related TCAP messages have a dialog portion containing this AC.
-
-