Class DialogOpenRefuseEvent


  • public class DialogOpenRefuseEvent
    extends DialogEvent
    Event generated when an outgoing open request is refused, either explicitly or due to a protocol error or timeout.
    • Field Detail

      • ID

        public static final EventTypeID ID
        Common event type used when firing DialogOpenRefuseEvent instances to the SLEE.
        • Name: com.opencloud.slee.resources.cgin.DialogOpenRefuse
        • Vendor: OpenCloud
        • Version: 3.0.0
    • Constructor Detail

      • DialogOpenRefuseEvent

        public DialogOpenRefuseEvent​(Dialog dialog,
                                     OpenRefuseReason refuseReason,
                                     PAbortCause pAbortCause,
                                     SccpAddress responderAddress,
                                     TcapApplicationContext applicationContext,
                                     Object[] userInformation,
                                     Object userAbortInformation)
        Create a new open-refuse event.
        Parameters:
        dialog - the accepted dialogue
        refuseReason - the reason for the dialogue refusal
        pAbortCause - the provider abort cause, if present
        responderAddress - the responding address (SCCP calling party address of the TC-CONTINUE / TC-END), or null if this event was not generated from a network message
        applicationContext - the suggested alternative application context in the responding dialogue portion, or null if not present
        userInformation - user information, if present in the response
        userAbortInformation - (ANSI TCAP only) user abort information from the Abort package, if applicable and present
    • Method Detail

      • getRefuseReason

        public OpenRefuseReason getRefuseReason()
        Get the reason for refusal
        Returns:
        an appropriate enum value
      • getPeerAbortCause

        public PAbortCause getPeerAbortCause()
        Get the peer abort cause, if this refusal was caused by a provider abort
        Returns:
        an appropriate enum value, or null if not available
      • getResponderAddress

        public SccpAddress getResponderAddress()
        Get the SCCP address of the responder.
        Returns:
        the SCCP address of the responder
      • getApplicationContext

        public TcapApplicationContext getApplicationContext()
        Get the suggested application context contained in the dialogue portion of the TC-ABORT or Abort, if this refusal was due to a TC-ABORT containing a dialogue portion.
        Returns:
        the ACN contained in the dialogue portion, or null if the refusal did not specify an alternative ACN
      • getUserAbortInformation

        public Object getUserAbortInformation()
        (ANSI TCAP only) Get the user abort information provided with the Abort message, if any.
        Returns:
        the user abort information, or null if none was provided in the Abort message