You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Client ist eine Schnittstelle, dass die Implementierung des Clients im Server Client Modell skizzieren soll.
Jeder Client sollte sich initial beim Server anmelden mit der login() Methode.
Implementierung:
--> de.coer.client.CoerClient
Bietet eine standartmäßige Implementierung der Client Schnittstelle und kann als Basis des Server Client Modells verwendet werden.
Methoden:
public void login() throws DatapackageException;
Sends a datapackage to server and try to login
Server response a clientID to identify the client
public void logout();
Sends a datapackage to server
Server will logout the client
public void send(Datapackage datapackage);
Sends a datapackage to connected server
public void registerMethod(String identifier, Executeable executeable) throws DatapackageException;
Method is used to register new methods the server can send