public class SmsPingTrackerImpl extends org.opennms.protocols.rt.RequestTracker<PingRequest,PingReply> implements SmsPingTracker
Constructor and Description |
---|
SmsPingTrackerImpl(SmsPingMessenger smsMessenger)
Constructor for SmsPingTrackerImpl.
|
Modifier and Type | Method and Description |
---|---|
void |
sendRequest(String phoneNumber,
long timeout,
int retries,
PingResponseCallback cb)
sendRequest
|
void |
start() |
void |
stop()
stop
|
public SmsPingTrackerImpl(SmsPingMessenger smsMessenger) throws IOException
Constructor for SmsPingTrackerImpl.
smsMessenger
- a SmsPingMessenger
object.IOException
- if any.public void sendRequest(String phoneNumber, long timeout, int retries, PingResponseCallback cb) throws Exception
sendRequest
sendRequest
in interface SmsPingTracker
phoneNumber
- a String
object.timeout
- a long.retries
- a int.cb
- a PingResponseCallback
object.Exception
- if any.public void start()
start
in class org.opennms.protocols.rt.RequestTracker<PingRequest,PingReply>
public void stop()
stop
Copyright © 2015. All Rights Reserved.