Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-01-16 | Change joinNetworkRequest. | Kjetil Ørbekk | |
Remove networkName parameter to reduce the necessary information to join a network. | |||
2012-01-16 | Fix ping discovery. | Kjetil Ørbekk | |
2012-01-16 | Add ClientApp – a server hosting a ClientService. | Kjetil Ørbekk | |
2012-01-16 | Fix URL handling in RpcHandler. | Kjetil Ørbekk | |
Report http://ip:port/ as URL. Removes SameService.json part. | |||
2012-01-16 | Add MasterApp – a MasterService server. | Kjetil Ørbekk | |
2012-01-16 | Change Broadcaster factory method. | Kjetil Ørbekk | |
2012-01-16 | Implement updateStateRequest(). | Kjetil Ørbekk | |
– Verify that states are synchronized to all clients. | |||
2012-01-16 | Fix failing test. | Kjetil Ørbekk | |
Add equals() to State. | |||
2012-01-16 | Send state to clients. | Kjetil Ørbekk | |
– Adds failing test - need to compare states of master and client. | |||
2012-01-16 | Add assert in test of Master. | Kjetil Ørbekk | |
2012-01-16 | Add failing master test. | Kjetil Ørbekk | |
Fails because client implementation is not finished. | |||
2012-01-16 | Add ClientServiceImpl class. | Kjetil Ørbekk | |
2012-01-16 | Fix failing test. | Kjetil Ørbekk | |
Uses test component to avoid NullPointerException. | |||
2012-01-16 | Add TestConnectionManager. | Kjetil Ørbekk | |
2012-01-15 | Add TestBroadcaster. | Kjetil Ørbekk | |
TestBroadcaster implements a single-threaded broadcaster suitable for testing. | |||
2012-01-15 | Make Broadcaster testable. | Kjetil Ørbekk | |
2012-01-15 | Move old SameService files out of the way. | Kjetil Ørbekk | |
2012-01-15 | Add broadcasting from master. | Kjetil Ørbekk | |
2012-01-15 | Change ConnectionManager. | Kjetil Ørbekk | |
Support Client and Master connections. | |||
2012-01-15 | Remove SameState class. | Kjetil Ørbekk | |
This commit doesn't delete the file, but comments out all the code, as it doesn't compile anymore. | |||
2012-01-15 | Switch parameter order for consistency. | Kjetil Ørbekk | |
2012-01-13 | Bring back worker thread. | Kjetil Ørbekk | |
:( | |||
2012-01-13 | Maintain a set of recently updated components in State. | Kjetil Ørbekk | |
2012-01-13 | Add support for JSON state. | Kjetil Ørbekk | |
Use Jackson for serialization and deserialization of JSON objects. | |||
2012-01-13 | Add new Client and Master interfaces. | Kjetil Ørbekk | |
Begin implementing Master interface. | |||
2012-01-13 | New object model in State. | Kjetil Ørbekk | |
– Currently mixed with old code. TODO: Remove old code. | |||
2012-01-13 | Finish refactoring. | Kjetil Ørbekk | |
Remove TODO.Refactoring. | |||
2012-01-13 | Refactoring. | Kjetil Ørbekk | |
Rename com.orbekk.{rpc → same}. | |||
2012-01-13 | Rename projects. | Kjetil Ørbekk | |
– jsonrpc → same – master → same-android | |||
2012-01-13 | Remove unused imports. | Kjetil Ørbekk | |
2012-01-11 | Use State class to hold the state. | Kjetil Ørbekk | |
2012-01-11 | Add refactoring TODO. | Kjetil Ørbekk | |
2012-01-11 | Improve SameStateTest. | Kjetil Ørbekk | |
- Assert on specific state. | |||
2012-01-11 | Add setState() operation. | Kjetil Ørbekk | |
- State is synchronized between all clients. - Failure handling remains poor. | |||
2012-01-11 | Add participant synchronization. | Kjetil Ørbekk | |
- No error handling in the protocol at the moment. | |||
2012-01-11 | Add SameState test. | Kjetil Ørbekk | |
Test network participation. | |||
2012-01-11 | Implement master functionality. | Kjetil Ørbekk | |
- The first participant in the network is considered the master. - Forward join requests to the master. | |||
2012-01-11 | Improve participant handling. | Kjetil Ørbekk | |
- Send correct list of participants in notifyParticipation(). - Add self to list of participants. | |||
2012-01-11 | Add 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-11 | Add HttpUtil which sends HTTP requests. | Kjetil Ørbekk | |
2012-01-11 | Continue 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-10 | Actually start the SameState thread in the server. | Kjetil Ørbekk | |
2012-01-10 | Add ConnectionManager interface. | Kjetil Ørbekk | |
The ConnectionManager will be used by SameState to communicate with other participants. | |||
2012-01-10 | Add 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-10 | Set default log level to INFO. | Kjetil Ørbekk | |
Sets default log level to INFO. Sets log level to DEBUG for com.orbekk packages. | |||
2012-01-10 | Start 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-10 | Switch from log4j to slf4j. | Kjetil Ørbekk | |
Slf4j works on Android easily. | |||
2012-01-10 | Add Broadcaster for non-Android Java. | Kjetil Ørbekk | |
2012-01-10 | Remove 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-10 | Initial import of maven projects. | Kjetil Ørbekk | |
jsonrpc - Common classes. rpctest - A small xmlrpc project. master - Android application containing broadcast code and ping service. |