org.mobicents.protocols.ss7.map.api
Interface MAPProvider


public interface MAPProvider

Author:
amit bhayani

Field Summary
static int NETWORK_UNSTRUCTURED_SS_CONTEXT_V2
           
 
Method Summary
 void addMAPDialogListener(MAPDialogListener mapDialogListener)
          Add MAP Dialog listener to the Stack
 void addMAPServiceListener(MAPServiceListener mapServiceListener)
          Add MAP Service listener to the stack
 MAPDialog createNewDialog(MAPApplicationContext appCntx, SccpAddress origAddress, AddressString origReference, SccpAddress destAddress, AddressString destReference)
          Creates a new Dialog.
 MAPDialog getMAPDialog(java.lang.Long dialogId)
          Get MAPDialog corresponding to passed dialogId
 MapServiceFactory getMapServiceFactory()
          Get the MapServiceFactory
 void removeMAPDialogListener(MAPDialogListener mapDialogListener)
          Remove MAP DIalog Listener from the stack
 void removeMAPServiceListener(MAPServiceListener mapServiceListener)
          Remove MAP Service listener from the stack
 

Field Detail

NETWORK_UNSTRUCTURED_SS_CONTEXT_V2

static final int NETWORK_UNSTRUCTURED_SS_CONTEXT_V2
See Also:
Constant Field Values
Method Detail

createNewDialog

MAPDialog createNewDialog(MAPApplicationContext appCntx,
                          SccpAddress origAddress,
                          AddressString origReference,
                          SccpAddress destAddress,
                          AddressString destReference)
                          throws MAPException
Creates a new Dialog. This is equivalent to issuing MAP_OPEN Service Request to MAP Provider.

Parameters:
applicationCntx - This parameter identifies the type of application context being established. If the dialogue is accepted the received application context name shall be echoed. In case of refusal of dialogue this parameter shall indicate the highest version supported.
destAddress - A valid SCCP address identifying the destination peer entity. As an implementation option, this parameter may also, in the indication, be implicitly associated with the service access point at which the primitive is issued.
destReference - This parameter is a reference which refines the identification of the called process. It may be identical to Destination address but its value is to be carried at MAP level.
origAddress - A valid SCCP address identifying the requestor of a MAP dialogue. As an implementation option, this parameter may also, in the request, be implicitly associated with the service access point at which the primitive is issued.
origReference - This parameter is a reference which refines the identification of the calling process. It may be identical to the Originating address but its value is to be carried at MAP level. Processing of the Originating-reference shall be performed according to the supplementary service descriptions and other service descriptions, e.g. operator determined barring.
Returns:
Throws:
MAPException

addMAPDialogListener

void addMAPDialogListener(MAPDialogListener mapDialogListener)
Add MAP Dialog listener to the Stack

Parameters:
mapDialogListener -

removeMAPDialogListener

void removeMAPDialogListener(MAPDialogListener mapDialogListener)
Remove MAP DIalog Listener from the stack

Parameters:
mapDialogListener -

addMAPServiceListener

void addMAPServiceListener(MAPServiceListener mapServiceListener)
Add MAP Service listener to the stack

Parameters:
mapServiceListener -

removeMAPServiceListener

void removeMAPServiceListener(MAPServiceListener mapServiceListener)
Remove MAP Service listener from the stack

Parameters:
mapServiceListener -

getMapServiceFactory

MapServiceFactory getMapServiceFactory()
Get the MapServiceFactory

Returns:

getMAPDialog

MAPDialog getMAPDialog(java.lang.Long dialogId)
Get MAPDialog corresponding to passed dialogId

Parameters:
dialogId -
Returns:


Copyright © 2011. All Rights Reserved.