blob: 84ee015a3455cf41cf6cbf8ffbc846a4e18338ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
package com.orbekk.same;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class ClientServiceImpl implements ClientService, UrlReceiver {
private Logger logger = LoggerFactory.getLogger(getClass());
private ConnectionManager connections;
private State state;
private String myUrl = null;
public ClientServiceImpl(State state, ConnectionManager connections) {
this.state = state;
this.connections = connections;
}
@Override
public void notifyNetwork(String networkName, String masterUrl) {
logger.error("NotifyNetwork not yet implemented.");
}
@Override
public void setState(String component, String data, long revision) {
logger.error("SetState not yet implemented.");
}
@Override
public void setUrl(String myUrl) {
logger.info("My URL is {}.", myUrl);
this.myUrl = myUrl;
}
}
|