org.mobicents.protocols.ss7.map
Class MAPDialogImpl

java.lang.Object
  extended by org.mobicents.protocols.ss7.map.MAPDialogImpl
All Implemented Interfaces:
MAPDialog

public class MAPDialogImpl
extends java.lang.Object
implements MAPDialog

MAP-DialoguePDU ::= CHOICE { map-open [0] MAP-OpenInfo, map-accept [1] MAP-AcceptInfo, map-close [2] MAP-CloseInfo, map-refuse [3] MAP-RefuseInfo, map-userAbort [4] MAP-UserAbortInfo, map-providerAbort [5] MAP-ProviderAbortInfo}

Author:
amit bhayani, baranowb

Constructor Summary
protected MAPDialogImpl(MAPApplicationContext appCntx, Dialog tcapDialog, MAPProviderImpl mapProviderImpl)
           
protected MAPDialogImpl(MAPApplicationContext appCntx, Dialog tcapDialog, MAPProviderImpl mapProviderImpl, AddressString origReference, AddressString destReference)
           
 
Method Summary
 void abort(MAPUserAbortChoice mapUserAbortChoice)
           
 void addProcessUnstructuredSSRequest(byte ussdDataCodingScheme, USSDString ussdString, AddressString msisdn)
           
 void addProcessUnstructuredSSResponse(long invokeId, boolean lastResult, byte ussdDataCodingScheme, USSDString ussdString)
           
 void addUnstructuredSSRequest(byte ussdDataCodingScheme, USSDString ussdString)
           
 void addUnstructuredSSResponse(long invokeId, boolean lastResult, byte ussdDataCodingScheme, USSDString ussdString)
           
 void close(boolean prearrangedEnd)
           
 MAPApplicationContext getAppCntx()
           
 java.lang.Long getDialogId()
           
 boolean isMapAcceptInfoFired()
           
 void send()
           
 void setMapAcceptInfoFired(boolean mapAcceptInfoFired)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MAPDialogImpl

protected MAPDialogImpl(MAPApplicationContext appCntx,
                        Dialog tcapDialog,
                        MAPProviderImpl mapProviderImpl)

MAPDialogImpl

protected MAPDialogImpl(MAPApplicationContext appCntx,
                        Dialog tcapDialog,
                        MAPProviderImpl mapProviderImpl,
                        AddressString origReference,
                        AddressString destReference)
Method Detail

getDialogId

public java.lang.Long getDialogId()
Specified by:
getDialogId in interface MAPDialog

abort

public void abort(MAPUserAbortChoice mapUserAbortChoice)
           throws MAPException
Specified by:
abort in interface MAPDialog
Throws:
MAPException

close

public void close(boolean prearrangedEnd)
           throws MAPException
Specified by:
close in interface MAPDialog
Throws:
MAPException

send

public void send()
          throws MAPException
Specified by:
send in interface MAPDialog
Throws:
MAPException

addProcessUnstructuredSSRequest

public void addProcessUnstructuredSSRequest(byte ussdDataCodingScheme,
                                            USSDString ussdString,
                                            AddressString msisdn)
                                     throws MAPException
Specified by:
addProcessUnstructuredSSRequest in interface MAPDialog
Throws:
MAPException

addProcessUnstructuredSSResponse

public void addProcessUnstructuredSSResponse(long invokeId,
                                             boolean lastResult,
                                             byte ussdDataCodingScheme,
                                             USSDString ussdString)
                                      throws MAPException
Specified by:
addProcessUnstructuredSSResponse in interface MAPDialog
Throws:
MAPException

addUnstructuredSSRequest

public void addUnstructuredSSRequest(byte ussdDataCodingScheme,
                                     USSDString ussdString)
                              throws MAPException
Specified by:
addUnstructuredSSRequest in interface MAPDialog
Throws:
MAPException

addUnstructuredSSResponse

public void addUnstructuredSSResponse(long invokeId,
                                      boolean lastResult,
                                      byte ussdDataCodingScheme,
                                      USSDString ussdString)
                               throws MAPException
Specified by:
addUnstructuredSSResponse in interface MAPDialog
Throws:
MAPException

getAppCntx

public MAPApplicationContext getAppCntx()

isMapAcceptInfoFired

public boolean isMapAcceptInfoFired()

setMapAcceptInfoFired

public void setMapAcceptInfoFired(boolean mapAcceptInfoFired)


Copyright © 2011. All Rights Reserved.