aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/traccar/Protocol.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/org/traccar/Protocol.java')
-rw-r--r--src/main/java/org/traccar/Protocol.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/org/traccar/Protocol.java b/src/main/java/org/traccar/Protocol.java
index 3b66f2598..9d257be78 100644
--- a/src/main/java/org/traccar/Protocol.java
+++ b/src/main/java/org/traccar/Protocol.java
@@ -15,9 +15,11 @@
*/
package org.traccar;
+import io.netty.channel.Channel;
import org.traccar.database.ActiveDevice;
import org.traccar.model.Command;
+import java.net.SocketAddress;
import java.util.Collection;
public interface Protocol {
@@ -28,7 +30,7 @@ public interface Protocol {
Collection<String> getSupportedDataCommands();
- void sendDataCommand(ActiveDevice activeDevice, Command command);
+ void sendDataCommand(Channel channel, SocketAddress remoteAddress, Command command);
Collection<String> getSupportedTextCommands();