public class UssdRequest extends MobileMsgRequest
UssdRequest class.
Constructor and Description |
---|
UssdRequest(org.smslib.USSDRequest msg,
long timeout,
int retries,
MobileMsgResponseCallback cb,
MobileMsgResponseMatcher responseMatcher)
Constructor for UssdRequest.
|
Modifier and Type | Method and Description |
---|---|
MobileMsgRequest |
createNextRetry()
createNextRetry
|
String |
getContent()
getContent
|
String |
getGatewayId()
getGatewayId
|
String |
getId()
getId
|
org.smslib.USSDRequest |
getMessage()
getMessage
|
String |
toString()
toString
|
compareTo, getCb, getDelay, getResponseMatcher, getRetries, getSentTime, getTimeout, isProcessed, matches, processError, processResponse, processTimeout, setCb, setResponseMatcher, setRetries, setSendTimestamp, setTimeout
public UssdRequest(org.smslib.USSDRequest msg, long timeout, int retries, MobileMsgResponseCallback cb, MobileMsgResponseMatcher responseMatcher)
Constructor for UssdRequest.
msg
- a USSDRequest
object.timeout
- a long.retries
- a int.cb
- a MobileMsgResponseCallback
object.responseMatcher
- a MobileMsgResponseMatcher
object.public String getContent()
getContent
public String getId()
getId
getId
in interface org.opennms.protocols.rt.Request<String,MobileMsgRequest,MobileMsgResponse>
getId
in class MobileMsgRequest
String
object.public MobileMsgRequest createNextRetry()
createNextRetry
createNextRetry
in class MobileMsgRequest
MobileMsgRequest
object.public org.smslib.USSDRequest getMessage()
getMessage
USSDRequest
object.public String toString()
toString
toString
in class MobileMsgRequest
String
object.Copyright © 2015. All Rights Reserved.