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 EventTypeID
ID
Common 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 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.PAbortCause
getPeerAbortCause()
Get the peer abort cause, if this refusal was caused by a provider abortOpenRefuseReason
getRefuseReason()
Get the reason for refusalSccpAddress
getResponderAddress()
Get the SCCP address of the responder.Object
getUserAbortInformation()
(ANSI TCAP only) Get the user abort information provided with the Abort message, if any.String
toString()
-
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.1
-
-
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), ornull
if this event was not generated from a network messageapplicationContext
- the suggested alternative application context in the responding dialogue portion, ornull
if 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
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
-
-