summaryrefslogtreecommitdiff
path: root/same/src/main/java
AgeCommit message (Collapse)Author
2012-01-31Reuse HTTP connections.Kjetil Ørbekk
2012-01-31Fix: Set correct /ClientService.json handler.Kjetil Ørbekk
2012-01-31Use full url with discovery.Kjetil Ørbekk
2012-01-31Refactor client.Kjetil Ørbekk
Hide ClientService inside ClientServiceImpl.
2012-01-31Clean up MasterApp.Kjetil Ørbekk
2012-01-31Add client discovery functionality.Kjetil Ørbekk
2012-01-31WorkList => WorkQueue – A worker thread helper class.Kjetil Ørbekk
2012-01-31Add WorkQueue.Kjetil Ørbekk
2012-01-30Add WorkList data structure.Kjetil Ørbekk
This class is used to hold commands for a worker thread.
2012-01-27Hack collection.Kjetil Ørbekk
– MyJsonRpcHttpClient: A JsonRpcHttpClient that uses Apache HttpComponents because of a HttpURLConnection bug in Android 2.2. Receives hack status because of nasty overloading. – Log4j-android doesn't like printing stack traces – convert them to string before logging.
2012-01-27Add Discovery handling in SameService.Kjetil Ørbekk
2012-01-27Improve discovery and error handling.Kjetil Ørbekk
2012-01-27Add DiscoveryListener interface.Kjetil Ørbekk
2012-01-27Client answers discovery events.Kjetil Ørbekk
2012-01-27ClientService supports network discovery.Kjetil Ørbekk
2012-01-26Use SameController in ClientApp.Kjetil Ørbekk
2012-01-26Client support in SameController.Kjetil Ørbekk
2012-01-26Deprecate old ClientApp code.Kjetil Ørbekk
2012-01-26Use SameController in MasterApp.Kjetil Ørbekk
2012-01-26Add SameController.Kjetil Ørbekk
SameController sets up and manages the state of Same.
2012-01-24Basic Paxos working.Kjetil Ørbekk
2012-01-24Refactor Paxos: Return proposal values.Kjetil Ørbekk
2012-01-24Paxos: Remove roundId parameter.Kjetil Ørbekk
2012-01-23Add TODO for KeepAlive.Kjetil Ørbekk
2012-01-23Support more than one rpc Service on a Jetty server.Kjetil Ørbekk
Implent a URL based lookup that determines which service to handle a request.
2012-01-23Add Paxos integration test.Kjetil Ørbekk
2012-01-23Add MasterProposer.Kjetil Ørbekk
MasterProposer tries to propose a value to a list of PaxosServices.
2012-01-23Start implementing MasterProposer.Kjetil Ørbekk
2012-01-23Support PaxosService in ConnectionManager.Kjetil Ørbekk
2012-01-22Add comment on thread safety.Kjetil Ørbekk
2012-01-22Unit test of Paxos Service.Kjetil Ørbekk
2012-01-22Start implementing Paxos service.Kjetil Ørbekk
2012-01-20Fix: Use factory method when creating a Same instance.Kjetil Ørbekk
2012-01-20GameController listens to state changes.Kjetil Ørbekk
2012-01-20Implement interface for notification of state changes.Kjetil Ørbekk
2012-01-19Implement the library interface to a SameClientImpl.Kjetil Ørbekk
2012-01-19Add SameInterface – the programming interface to Same.Kjetil Ørbekk
SameInterface is supposed to contain the library interface to Same.
2012-01-18Hack: Use Same to synchronize state in the android app.Kjetil Ørbekk
2012-01-18Refactor client.Kjetil Ørbekk
2012-01-18Fix race condition.Kjetil Ørbekk
When new client joins: Add new participant to participants list before broadcasting new state.
2012-01-18Remove clients upon errors.Kjetil Ørbekk
Add test for removing clients.
2012-01-18Refactor broadcast operations.Kjetil Ørbekk
– Add handling of client errors.
2012-01-18Refactor Broadcaster.Kjetil Ørbekk
Take a client url instead of a client parameter, to handle error conditions.
2012-01-17Begin error handling.Kjetil Ørbekk
– Declare thrown exceptions in services. – Use try {} blocks when communicating with services.
2012-01-17Add timeout to network operations.Kjetil Ørbekk
2012-01-17Fix revision update.Kjetil Ørbekk
Change State to take the *new* revision when updating.
2012-01-17Reject old state updates.Kjetil Ørbekk
Only accept updates from master if revision >= currentRevision. Client must clear state before joining network.
2012-01-17Change test clasess that were moved to main.Kjetil Ørbekk
Remove junit annotations.
2012-01-16Fix full state update to new clients.Kjetil Ørbekk
2012-01-16Fix network joining.Kjetil Ørbekk
Prevent infinite loop in master thread.