public class DialogOpenRequestEvent extends DialogEvent
Services should ensure that they process the DialogOpenRequest event for application contexts they support, and avoid processing other open request events at all, through use of an initial event selector method. This allows the resource adaptor to determine when an incoming application context is unsupported, and correctly refuse the dialog: it will refuse any dialog where the DialogOpenRequest event is processed by no SBBs at all. By using an initial event selector to decide which dialogs to process, many services handling different application contexts may coexist in the same SLEE instance.
Included with the DialogOpenRequestEvent is a (possibly empty) list of component events that will be fired after the Open Request event and before the Delimiter. This corresponds to the components contained in the TC-BEGIN network message, and can be used in initial event selection logic.
Modifier and Type | Field and Description |
---|---|
static EventTypeID |
ID
Common event type used when firing DialogOpenAcceptEvent instances to the SLEE.
|
Constructor and Description |
---|
DialogOpenRequestEvent(Dialog dialog,
SccpAddress originatingAddress,
SccpAddress destinationAddress,
boolean hasOriginatingL3PointCode,
int originatingL3PointCode,
boolean hasDestinationL3PointCode,
int destinationL3PointCode,
TcapApplicationContext applicationContext,
Object[] userInformation,
ComponentEvent[] componentEvents)
Construct a new Open Request event
|
Modifier and Type | Method and Description |
---|---|
TcapApplicationContext |
getApplicationContext()
Get the requested application context contained in the dialogue portion of the TC-BEGIN
|
ComponentEvent[] |
getComponentEvents()
Get the component events associated with this Open Request.
|
SccpAddress |
getDestinationAddress()
Get the destination SCCP address of the open request.
|
int |
getLayer3DestinationPointCode()
Get the layer3 destination point code for the message.
|
int[] |
getLayer3DestinationPointCodeMemberClusterNetwork()
Get the layer3 destination point code for the message using the ANSI member/cluster/network
format (8/8/8 bit fields).
|
int[] |
getLayer3DestinationPointCodeZoneAreaSignalPoint()
Get the layer3 destination point code for the message using the ITU-T zone/area/signal-point
format (3/8/3 bit fields).
|
int |
getLayer3OriginatingPointCode()
Get the layer3 originating point code for the message.
|
int[] |
getLayer3OriginatingPointCodeMemberClusterNetwork()
Get the layer3 originating point code for the message using the ANSI member/cluster/network
format (8/8/8 bit fields).
|
int[] |
getLayer3OriginatingPointCodeZoneAreaSignalPoint()
Get the layer3 originating point code for the message using the ITU-T zone/area/signal-point
format (3/8/3 bit fields).
|
SccpAddress |
getOriginatingAddress()
Get the originating SCCP address of the open request.
|
boolean |
hasLayer3DestinationPointCode()
Determine if a layer3 destination point code is available for this message.
|
boolean |
hasLayer3OriginatingPointCode()
Determine if a layer3 originating point code is available for this message.
|
boolean |
isApplicationContextSupported()
Return true if the application context offered in this open request is
supported by the underlying resource adaptor.
|
String |
toString() |
getUserInformation
public static final EventTypeID ID
public DialogOpenRequestEvent(Dialog dialog, SccpAddress originatingAddress, SccpAddress destinationAddress, boolean hasOriginatingL3PointCode, int originatingL3PointCode, boolean hasDestinationL3PointCode, int destinationL3PointCode, TcapApplicationContext applicationContext, Object[] userInformation, ComponentEvent[] componentEvents)
dialog
- the newly created dialogueoriginatingAddress
- the TC originating address (SCCP calling party address) of the dialoguedestinationAddress
- the TC destination address (SCCP called party address) of the dialogueapplicationContext
- the requested application context for this dialogueuserInformation
- user information, if present in the responsecomponentEvents
- the component events received in the TC-BEGIN that will be fired after this eventpublic SccpAddress getOriginatingAddress()
public SccpAddress getDestinationAddress()
public boolean hasLayer3OriginatingPointCode()
public int getLayer3OriginatingPointCode()
public int[] getLayer3OriginatingPointCodeZoneAreaSignalPoint()
{ zone, area, signal-point }
, or
null
if the originating layer3 point code was not available.public int[] getLayer3OriginatingPointCodeMemberClusterNetwork()
{ member, cluster, network }
, or
null
if the originating layer3 point code was not available.public boolean hasLayer3DestinationPointCode()
public int getLayer3DestinationPointCode()
public int[] getLayer3DestinationPointCodeZoneAreaSignalPoint()
{ zone, area, signal-point }
, or
null
if the destination layer3 point code was not available.public int[] getLayer3DestinationPointCodeMemberClusterNetwork()
{ member, cluster, network }
, or
null
if the destination layer3 point code was not available.public TcapApplicationContext getApplicationContext()
public boolean isApplicationContextSupported()
public ComponentEvent[] getComponentEvents()