aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Protocol.java
blob: c99fd8ecbf7a3948ad86cf394f4b6e75c99c2cda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package org.traccar;

import org.traccar.database.ActiveDevice;
import org.traccar.model.Command;

import java.util.Collection;
import java.util.List;

public interface Protocol {

    String getName();

    Collection<String> getSupportedCommands();

    void sendCommand(ActiveDevice activeDevice, Command command);

    void initTrackerServers(List<TrackerServer> serverList);

}