public class DialogOpenRefuseEvent extends DialogEvent
Modifier and Type | Field and Description |
---|---|
static EventTypeID |
ID
Common event type used when firing DialogOpenRefuseEvent instances to the SLEE.
|
Constructor and Description |
---|
DialogOpenRefuseEvent(Dialog dialog,
OpenRefuseReason refuseReason,
PAbortCause pAbortCause,
SccpAddress responderAddress,
TcapApplicationContext applicationContext,
Object[] userInformation)
Create a new open-refuse event.
|
Modifier and Type | Method and Description |
---|---|
TcapApplicationContext |
getApplicationContext()
Get the suggested application context contained in the dialogue portion of the TC-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 abort
|
OpenRefuseReason |
getRefuseReason()
Get the reason for refusal
|
SccpAddress |
getResponderAddress()
Get the SCCP address of the responder.
|
String |
toString() |
getUserInformation
public static final EventTypeID ID
public DialogOpenRefuseEvent(Dialog dialog, OpenRefuseReason refuseReason, PAbortCause pAbortCause, SccpAddress responderAddress, TcapApplicationContext applicationContext, Object[] userInformation)
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),
or null
if this event was not generated from a network messageapplicationContext
- the suggested alternative application context in the responding dialogue portion,
or null
if not presentuserInformation
- user information, if present in the responsepublic OpenRefuseReason getRefuseReason()
public PAbortCause getPeerAbortCause()
null
if not availablepublic SccpAddress getResponderAddress()
public TcapApplicationContext getApplicationContext()
null
if the refusal did not specify an alternative ACN