aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/sms/SmsManager.java
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2018-11-02 16:05:31 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2018-11-02 16:05:31 +1300
commitfb5e953f90f0bf48593feb88138a5ee1706b6989 (patch)
treec90ca8228c5436fe6f462d8cc5730df4d0388e16 /src/org/traccar/sms/SmsManager.java
parentf6fa77c3e2e63dbfa14884ee8fe448c467c9f592 (diff)
downloadtrackermap-server-fb5e953f90f0bf48593feb88138a5ee1706b6989.tar.gz
trackermap-server-fb5e953f90f0bf48593feb88138a5ee1706b6989.tar.bz2
trackermap-server-fb5e953f90f0bf48593feb88138a5ee1706b6989.zip
Implement universal HTTP SMS manager
Diffstat (limited to 'src/org/traccar/sms/SmsManager.java')
-rw-r--r--src/org/traccar/sms/SmsManager.java8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/org/traccar/sms/SmsManager.java b/src/org/traccar/sms/SmsManager.java
index 4bc4bd009..1e3d40f6e 100644
--- a/src/org/traccar/sms/SmsManager.java
+++ b/src/org/traccar/sms/SmsManager.java
@@ -20,8 +20,10 @@ import org.traccar.notification.MessageException;
public interface SmsManager {
- void sendMessageSync(String destAddress, String message, boolean command)
- throws InterruptedException, MessageException;
- void sendMessageAsync(final String destAddress, final String message, final boolean command);
+ void sendMessageSync(
+ String destAddress, String message, boolean command) throws InterruptedException, MessageException;
+
+ void sendMessageAsync(
+ final String destAddress, final String message, final boolean command);
}