public class MobileMsgTrackerImpl extends org.opennms.protocols.rt.RequestTracker<MobileMsgRequest,MobileMsgResponse> implements MobileMsgTracker, org.springframework.beans.factory.InitializingBean
Constructor and Description |
---|
MobileMsgTrackerImpl(String name,
org.opennms.protocols.rt.Messenger<MobileMsgRequest,MobileMsgResponse> messenger)
Constructor for MobileMsgTrackerImpl.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
MobileMsgRequest |
sendSmsRequest(org.smslib.OutboundMessage msg,
long timeout,
int retries,
MobileMsgResponseCallback cb,
MobileMsgResponseMatcher matcher)
sendSmsRequest
|
MobileMsgRequest |
sendUssdRequest(org.smslib.USSDRequest msg,
long timeout,
int retries,
MobileMsgResponseCallback cb,
MobileMsgResponseMatcher matcher)
sendUssdRequest
|
public MobileMsgTrackerImpl(String name, org.opennms.protocols.rt.Messenger<MobileMsgRequest,MobileMsgResponse> messenger) throws IOException
Constructor for MobileMsgTrackerImpl.
name
- a String
object.messenger
- a Messenger
object.IOException
- if any.public MobileMsgRequest sendSmsRequest(org.smslib.OutboundMessage msg, long timeout, int retries, MobileMsgResponseCallback cb, MobileMsgResponseMatcher matcher) throws Exception
sendSmsRequest
sendSmsRequest
in interface MobileMsgTracker
msg
- a OutboundMessage
object.timeout
- a long.retries
- a int.cb
- a MobileMsgResponseCallback
object.matcher
- a MobileMsgResponseMatcher
object.MobileMsgRequest
object.Exception
- if any.public MobileMsgRequest sendUssdRequest(org.smslib.USSDRequest msg, long timeout, int retries, MobileMsgResponseCallback cb, MobileMsgResponseMatcher matcher) throws Exception
sendUssdRequest
sendUssdRequest
in interface MobileMsgTracker
msg
- a USSDRequest
object.timeout
- a long.retries
- a int.cb
- a MobileMsgResponseCallback
object.matcher
- a MobileMsgResponseMatcher
object.MobileMsgRequest
object.Exception
- if any.Copyright © 2015. All Rights Reserved.