summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-01-13Bring back worker thread.Kjetil Ørbekk
:(
2012-01-13Maintain a set of recently updated components in State.Kjetil Ørbekk
2012-01-13Add support for JSON state.Kjetil Ørbekk
Use Jackson for serialization and deserialization of JSON objects.
2012-01-13Add new Client and Master interfaces.Kjetil Ørbekk
Begin implementing Master interface.
2012-01-13New object model in State.Kjetil Ørbekk
– Currently mixed with old code. TODO: Remove old code.
2012-01-13Finish refactoring.Kjetil Ørbekk
Remove TODO.Refactoring.
2012-01-13Refactoring.Kjetil Ørbekk
Rename com.orbekk.{rpc → same}.
2012-01-13Rename projects.Kjetil Ørbekk
– jsonrpc → same – master → same-android
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-11Improve SameStateTest.Kjetil Ørbekk
- Assert on specific state.
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-10Remove rpctest project.Kjetil Ørbekk
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
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.