Class 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 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 protocol
        moduleName - the name of the ASN.1 module defining this AC
        valuerefName - the valueref name within the ASN.1 module for this AC definition
        acn - the application context name of this application context
        initiatorSuppliesOperations - the set of operations that the dialog initiator may invoke
        responderSuppliesOperations - the set of operations that the dialog responder may invoke
        tcapStackType - the type of TCAP stack required by this AC
        Throws:
        NullPointerException - if acn is null
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object