aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar/web/client/model/DataServiceAsync.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/traccar/web/client/model/DataServiceAsync.java')
-rw-r--r--src/org/traccar/web/client/model/DataServiceAsync.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/org/traccar/web/client/model/DataServiceAsync.java b/src/org/traccar/web/client/model/DataServiceAsync.java
index 357beb5..51a419c 100644
--- a/src/org/traccar/web/client/model/DataServiceAsync.java
+++ b/src/org/traccar/web/client/model/DataServiceAsync.java
@@ -10,10 +10,12 @@ import com.google.gwt.user.client.rpc.AsyncCallback;
public interface DataServiceAsync {
- void authenticate(String login, String password, AsyncCallback<Boolean> callback);
-
void authenticated(AsyncCallback<Boolean> callback);
+ void login(String login, String password, AsyncCallback<Boolean> callback);
+
+ void logout(AsyncCallback<Boolean> callback);
+
void register(String login, String password, AsyncCallback<Boolean> callback);
void getDevices(AsyncCallback<List<Device>> callback);