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


public interface MapServiceFactory

Author:
amit bhayani

Method Summary
 AddressString createAddressString(AddressNature addNature, NumberingPlan numPlan, java.lang.String address)
          Creates a new instance of AddressString
 MAPUserAbortChoice createMAPUserAbortChoice()
          Creates a new instance of MAPUserAbortChoice
 ProcessUnstructuredSSRequest createProcessUnstructuredSSRequest(byte ussdDataCodingScheme, USSDString ussdString)
           
 ProcessUnstructuredSSResponse createProcessUnstructuredSsRequestResponse(int invokeID, byte ussdDataCodingScheme, USSDString ussdString)
           
 UnstructuredSSRequest createUnstructuredSSRequest(byte ussdDataCodingScheme, USSDString ussdString)
           
 UnstructuredSSResponse createUnstructuredSsRequestResponse(int invokeID, byte ussdDataCodingScheme, USSDString ussdString)
           
 USSDString createUSSDString(byte[] ussdString)
          Creates a new instance of USSDString.
 USSDString createUSSDString(byte[] ussdString, java.nio.charset.Charset charSet)
          Creates a new instance of USSDString using the passed Charset for encoding the passed ussdString byte[]
 USSDString createUSSDString(java.lang.String ussdString)
          Creates a new instance of USSDString.
 USSDString createUSSDString(java.lang.String ussdString, java.nio.charset.Charset charSet)
          Creates a new instance of USSDString using the passed Charset for encoding the passed ussdString String
 

Method Detail

createProcessUnstructuredSSRequest

ProcessUnstructuredSSRequest createProcessUnstructuredSSRequest(byte ussdDataCodingScheme,
                                                                USSDString ussdString)

createProcessUnstructuredSsRequestResponse

ProcessUnstructuredSSResponse createProcessUnstructuredSsRequestResponse(int invokeID,
                                                                         byte ussdDataCodingScheme,
                                                                         USSDString ussdString)

createUnstructuredSSRequest

UnstructuredSSRequest createUnstructuredSSRequest(byte ussdDataCodingScheme,
                                                  USSDString ussdString)

createUnstructuredSsRequestResponse

UnstructuredSSResponse createUnstructuredSsRequestResponse(int invokeID,
                                                           byte ussdDataCodingScheme,
                                                           USSDString ussdString)

createUSSDString

USSDString createUSSDString(java.lang.String ussdString)
Creates a new instance of USSDString. The passed USSD String is encoded by using the default Charset defined in GSM 03.38 Specs

Parameters:
ussdString - The USSD String
Returns:
new instance of USSDString

createUSSDString

USSDString createUSSDString(java.lang.String ussdString,
                            java.nio.charset.Charset charSet)
Creates a new instance of USSDString using the passed Charset for encoding the passed ussdString String

Parameters:
ussdString - The USSD String
charSet - The Charset used for encoding the passed USSD String
Returns:
new instance of USSDString

createUSSDString

USSDString createUSSDString(byte[] ussdString)
Creates a new instance of USSDString. The passed USSD String byte[] is encoded by using the default Charset defined in GSM 03.38 Specs

Parameters:
ussdString - The USSD String
Returns:
new instance of USSDString

createUSSDString

USSDString createUSSDString(byte[] ussdString,
                            java.nio.charset.Charset charSet)
Creates a new instance of USSDString using the passed Charset for encoding the passed ussdString byte[]

Parameters:
ussdString - The byte[] of the USSD String
charSet - The Charset used for encoding the passed USSD String byte[]
Returns:
new instance of USSDString

createAddressString

AddressString createAddressString(AddressNature addNature,
                                  NumberingPlan numPlan,
                                  java.lang.String address)
Creates a new instance of AddressString

Parameters:
addNature - The nature of this AddressString. See AddressNature.
numPlan - The NumberingPlan of this AddressString
address - The actual address (number)
Returns:
new instance of AddressString

createMAPUserAbortChoice

MAPUserAbortChoice createMAPUserAbortChoice()
Creates a new instance of MAPUserAbortChoice

Returns:


Copyright © 2011. All Rights Reserved.