Age | Commit message (Collapse) | Author |
|
– Currently mixed with old code. TODO: Remove old code.
|
|
Remove TODO.Refactoring.
|
|
Rename com.orbekk.{rpc → same}.
|
|
– jsonrpc → same
– master → same-android
|
|
|
|
|
|
|
|
- Assert on specific state.
|
|
- State is synchronized between all clients.
- Failure handling remains poor.
|
|
- No error handling in the protocol at the moment.
|
|
Test network participation.
|
|
- 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 ConnectionManager will be used by SameState to
communicate with other participants.
|
|
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.
|
|
Slf4j works on Android easily.
|
|
|
|
Apache xmlrpc doesn't work on Android because of a mismatch in Java core
classes [1]. Remove rpctest project.
In my master's project, jsonrpc4j will be used instead of xmlrpc.
[1] http://code.google.com/p/android/issues/detail?id=9493
|
|
jsonrpc - Common classes.
rpctest - A small xmlrpc project.
master - Android application containing broadcast code and ping service.
|