summaryrefslogtreecommitdiff
path: root/same/src/main/java/com/orbekk/same
AgeCommit message (Collapse)Author
2012-02-06Fix RpcServlet: Use POST requests.Kjetil Ørbekk
2012-02-06Fix failing tests.Kjetil Ørbekk
Tests were failing because of URL problems after refactoring.
2012-02-06Fix NullPointerException.Kjetil Ørbekk
– Set missing field in Master constructor.
2012-02-06Refactor URL handling in Client and Master.Kjetil Ørbekk
– Take URL as parameter to constructor.
2012-02-06Add a class that holds server information.Kjetil Ørbekk
– Provides access to the context and port, used in testing.
2012-02-06Get rid of UrlReceiver interface.Kjetil Ørbekk
2012-02-03Use Configuration in client as well.Kjetil Ørbekk
2012-02-03Remove old code from ClientApp.Kjetil Ørbekk
2012-02-03Use Configuration in MasterApp.Kjetil Ørbekk
Breaks ClientApp.
2012-02-03Extend configuration.Kjetil Ørbekk
– Shorter method names. – Add loadOrDie().
2012-02-03Don't depend on HandlerFactory (deleted).Kjetil Ørbekk
2012-02-03Add Configuration system.Kjetil Ørbekk
2012-02-03Refactor Handler code.Kjetil Ørbekk
Use servlets for everything. Ping service not yet implemented (becuase it's ugly and will be replaced with something else).
2012-02-03Move Handler code around.Kjetil Ørbekk
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-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-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-23Support PaxosService in ConnectionManager.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.