Age | Commit message (Collapse) | Author |
|
– jsonrpc → same
– master → same-android
|
|
- State is synchronized between all clients.
- Failure handling remains poor.
|
|
- No error handling in the protocol at the moment.
|
|
- The first participant in the network is considered the master.
- Forward join requests to the master.
|
|
- Send correct list of participants in notifyParticipation().
- Add self to list of participants.
|
|
Before a client wants to join a network, it may send a HTTP "ping"
request to a known participant. The participant will send a HTTP "pong"
request in response, which informs the client of its IP address.
The IP address of a client is automatically retrieved from the first
HTTP request received by Jetty.
|
|
- Implement ConnectionManager.
- SameService now calls notifyParticipation() when a client tries to
join.
- Add client ids – this may or may not be a good idea.
- Refactor App and Client code.
|
|
The SameState class manages a view of the 'Same' network. Some
functionality was moved from SameServiceImpl to SameState.
|
|
Sets default log level to INFO. Sets log level to DEBUG for com.orbekk
packages.
|
|
Start implementing the controller service for this project. "Same"
refers to the shared global state – the state should be the Same in all
the participants.
Removes PingService.
|