summaryrefslogtreecommitdiff
path: root/jsonrpc/src/main/java/com
AgeCommit message (Collapse)Author
2012-01-13Remove unused imports.Kjetil Ørbekk
2012-01-11Use State class to hold the state.Kjetil Ørbekk
2012-01-11Add refactoring TODO.Kjetil Ørbekk
2012-01-11Add setState() operation.Kjetil Ørbekk
- State is synchronized between all clients. - Failure handling remains poor.
2012-01-11Add participant synchronization.Kjetil Ørbekk
- No error handling in the protocol at the moment.
2012-01-11Add SameState test.Kjetil Ørbekk
Test network participation.
2012-01-11Implement master functionality.Kjetil Ørbekk
- The first participant in the network is considered the master. - Forward join requests to the master.
2012-01-11Improve participant handling.Kjetil Ørbekk
- Send correct list of participants in notifyParticipation(). - Add self to list of participants.
2012-01-11Add IP discovery.Kjetil Ørbekk
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.
2012-01-11Add HttpUtil which sends HTTP requests.Kjetil Ørbekk
2012-01-11Continue SameService implementation.Kjetil Ørbekk
- 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.
2012-01-10Actually start the SameState thread in the server.Kjetil Ørbekk
2012-01-10Add ConnectionManager interface.Kjetil Ørbekk
The ConnectionManager will be used by SameState to communicate with other participants.
2012-01-10Add SameState class to manage the state of a client.Kjetil Ørbekk
The SameState class manages a view of the 'Same' network. Some functionality was moved from SameServiceImpl to SameState.
2012-01-10Set default log level to INFO.Kjetil Ørbekk
Sets default log level to INFO. Sets log level to DEBUG for com.orbekk packages.
2012-01-10Start implementing SameService.Kjetil Ørbekk
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.
2012-01-10Switch from log4j to slf4j.Kjetil Ørbekk
Slf4j works on Android easily.
2012-01-10Add Broadcaster for non-Android Java.Kjetil Ørbekk
2012-01-10Initial import of maven projects.Kjetil Ørbekk
jsonrpc - Common classes. rpctest - A small xmlrpc project. master - Android application containing broadcast code and ping service.