public interface HTTPPushMBean
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
USER Abort the underlying MAP Dialog
|
void |
close()
Close the underlying MAP Dialog.
|
String |
getIsdn()
Get the MSISDN where USSD request is to be pushed
|
String |
getStatus()
Return current status of service - what has been sent, what has been
received etc.
|
String |
getTargetUri()
Get the URI pointing to USSD Gateway for push
|
void |
reset()
Reset( remove local dialog ) in case something goes wrong
|
void |
sendNotify(String ussdRequest,
boolean emptyDialogHandshake,
int invokeTimeout,
String userData)
Starts dialog if not already started.
|
void |
sendRequest(String ussdRequest,
boolean emptyDialogHandshake,
int invokeTimeout,
String userData)
Starts dialog if not already started.
|
void |
setIsdn(String isdn)
Set the MSISDN where USSD Push is to be sent
|
void |
setTargetUri(String uri)
The URI where HTTP Post request is to be submitted.
|
void setTargetUri(String uri)
uri - String getTargetUri()
void setIsdn(String isdn)
isdn - String getIsdn()
void reset()
void sendRequest(String ussdRequest, boolean emptyDialogHandshake, int invokeTimeout, String userData) throws Exception
ussdRequest - The actual USSD String requestemptyDialogHandshake - If true, USSD Gateway will first establish Dialog by doing
handshake before sending USSD request. If false the USSD
request will be added in Dialog begin messageinvokeTimeout - Time in milliseconds USSD gateway will wait for user to
respond, if user doesn't respond back within specified time,
USSD Gateway will abort the dialog and send back Abort error
to HTTP AppuserData - User Data to be sent with every request to USSD Gateway which will be
returned back with response from USSD Gw. This is just in case if
application wants to keep some data at Dialog level, for example MSISDNExceptionvoid sendNotify(String ussdRequest, boolean emptyDialogHandshake, int invokeTimeout, String userData) throws Exception
ussdRequest - The actual USSD String requestemptyDialogHandshake - If true, USSD Gateway will first establish Dialog by doing
handshake before sending USSD request. If false the USSD
request will be added in Dialog begin messageinvokeTimeout - Time in milliseconds USSD gateway will wait for user to
respond, if user doesn't respond back within specified time,
USSD Gateway will abort the dialog and send back Abort error
to HTTP AppuserData - User Data to be sent with every request to USSD Gateway which will be
returned back with response from USSD Gw. This is just in case if
application wants to keep some data at Dialog level, for example MSISDNExceptionvoid close()
throws Exception
ExeptionExceptionString getStatus()
Copyright © 2017. All Rights Reserved.