Interface DialogTcapMessage

    • Method Detail

      • isType

        boolean isType​(DialogTcapMessage.Type toCheck)
        Parameters:
        toCheck - the type to compare the type of this tcap message to
        Returns:
        true, if the type if this tcap message is the compatible toCheck
      • isTcBegin

        boolean isTcBegin()
        Returns:
        true is this message is a TC-Begin
      • isTcContinue

        boolean isTcContinue()
        Returns:
        true is this message is a TC-Continue
      • isTcEnd

        boolean isTcEnd()
        Returns:
        true is this message is a TC-End
      • isPrearrangedEnd

        boolean isPrearrangedEnd()
        Returns:
        true if the prearranged flag is true
      • asTcContinue

        void asTcContinue()
        change this message to be a TC-Continue, if possible.
      • asTcEnd

        void asTcEnd()
        change this message to be a TC-End(prearranged = false), if possible.
      • asTcEnd

        void asTcEnd​(boolean prearranged)
        change this message to be a TC-End(prearranged), if possible.
      • hasComponents

        boolean hasComponents()
        Returns:
        true if this message has some associated components
      • getComponents

        TcapComponent[] getComponents()
        Returns:
        the components associated with this message
      • asDialogOpenRequest

        DialogOpenRequestTcapMessage asDialogOpenRequest()
        Returns:
        this message as an open request
        Throws:
        java.lang.IllegalArgumentException - if this message is not an open request
      • asDialogOpenAccept

        DialogMessageTcapMessage asDialogOpenAccept()
        Returns:
        this message as an open accept
        Throws:
        java.lang.IllegalArgumentException - if this message is not an open accept
      • asDialogMessage

        DialogMessageTcapMessage asDialogMessage()
        Returns:
        this message as a dialog message
        Throws:
        java.lang.IllegalArgumentException - if this message is not a dialog message, open accept, or open request
      • asDialogOpenRefuse

        DialogOpenRefuseTcapMessage asDialogOpenRefuse()
        Returns:
        this message as an open refuse
        Throws:
        java.lang.IllegalArgumentException - if this message is not an open refuse
      • asDialogUserAbort

        DialogUserAbortTcapMessage asDialogUserAbort()
        Returns:
        this message as a dialog user abort
        Throws:
        java.lang.IllegalArgumentException - if this message is not a dialog user abort
      • asDialogProviderAbort

        DialogProviderAbortTcapMessage asDialogProviderAbort()
        Returns:
        this message as a dialog provider abort
        Throws:
        java.lang.IllegalArgumentException - if this message is not a dialog provider abort