aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/Protocol.java
blob: 87ac0529809c3b4b3a3be2e152e47859f77f7577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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> getSupportedDataCommands();

    void sendDataCommand(ActiveDevice activeDevice, Command command);

    void initTrackerServers(List<TrackerServer> serverList);

    Collection<String> getSupportedTextCommands();

    void sendTextCommand(String destAddress, Command command) throws Exception;

}