diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-13 15:51:33 -0800 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2020-12-13 15:51:33 -0800 |
commit | bc3b09e48efb9a58d9aef111d4316dcd9c0a7038 (patch) | |
tree | 18179346c5838bae1fdabb4007f309aa598c7600 /src/main/java/org/traccar/notification/JsonTypeEventForwarder.java | |
parent | d4f9561b978ea0410acc7a80a42137e13f06c846 (diff) | |
download | trackermap-server-bc3b09e48efb9a58d9aef111d4316dcd9c0a7038.tar.gz trackermap-server-bc3b09e48efb9a58d9aef111d4316dcd9c0a7038.tar.bz2 trackermap-server-bc3b09e48efb9a58d9aef111d4316dcd9c0a7038.zip |
Improve forwarding logging
Diffstat (limited to 'src/main/java/org/traccar/notification/JsonTypeEventForwarder.java')
-rw-r--r-- | src/main/java/org/traccar/notification/JsonTypeEventForwarder.java | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/main/java/org/traccar/notification/JsonTypeEventForwarder.java b/src/main/java/org/traccar/notification/JsonTypeEventForwarder.java deleted file mode 100644 index 55d926fc8..000000000 --- a/src/main/java/org/traccar/notification/JsonTypeEventForwarder.java +++ /dev/null @@ -1,18 +0,0 @@ -package org.traccar.notification; - -import java.util.Set; - -import org.traccar.model.Event; -import org.traccar.model.Position; - -import javax.ws.rs.client.AsyncInvoker; -import javax.ws.rs.client.Entity; - -public class JsonTypeEventForwarder extends EventForwarder { - - @Override - protected void executeRequest(Event event, Position position, Set<Long> users, AsyncInvoker invoker) { - invoker.post(Entity.json(preparePayload(event, position, users))); - } - -} |