Class DialogOpenRefuseEvent
- java.lang.Object
-
- Event
-
- DialogEvent
-
- 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 Summary
Fields Modifier and Type Field Description static EventTypeIDIDCommon event type used when firing DialogOpenRefuseEvent instances to the SLEE.
-
Constructor Summary
Constructors Constructor Description DialogOpenRefuseEvent(Dialog dialog, OpenRefuseReason refuseReason, PAbortCause pAbortCause, SccpAddress responderAddress, TcapApplicationContext applicationContext, Object[] userInformation, Object userAbortInformation)Create a new open-refuse event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcapApplicationContextgetApplicationContext()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.PAbortCausegetPeerAbortCause()Get the peer abort cause, if this refusal was caused by a provider abortOpenRefuseReasongetRefuseReason()Get the reason for refusalSccpAddressgetResponderAddress()Get the SCCP address of the responder.ObjectgetUserAbortInformation()(ANSI TCAP only) Get the user abort information provided with the Abort message, if any.StringtoString()-
Methods inherited from class com.opencloud.slee.resources.cgin.DialogEvent
getUserInformation
-
-
-
-
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 dialoguerefuseReason- the reason for the dialogue refusalpAbortCause- the provider abort cause, if presentresponderAddress- the responding address (SCCP calling party address of the TC-CONTINUE / TC-END), ornullif this event was not generated from a network messageapplicationContext- the suggested alternative application context in the responding dialogue portion, ornullif not presentuserInformation- user information, if present in the responseuserAbortInformation- (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
nullif 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
nullif 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
nullif none was provided in the Abort message
-
-