summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.