diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-02 16:05:31 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2018-11-02 16:05:31 +1300 |
commit | fb5e953f90f0bf48593feb88138a5ee1706b6989 (patch) | |
tree | c90ca8228c5436fe6f462d8cc5730df4d0388e16 /src/org/traccar/sms/SmsManager.java | |
parent | f6fa77c3e2e63dbfa14884ee8fe448c467c9f592 (diff) | |
download | trackermap-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.java | 8 |
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); } |