summaryrefslogtreecommitdiff
path: root/same/src/main/java
AgeCommit message (Collapse)Author
2012-02-16Implement all MasterService operations in NewMaster.Kjetil Ørbekk
Tested with tests ported from old MasterImplTest.
2012-02-16Start new Master implementation.Kjetil Ørbekk
2012-02-16Add manual performWork() in WorkQueue for testing.Kjetil Ørbekk
2012-02-14same-android: Implement network joining.Kjetil Ørbekk
2012-02-14Don't print garbage from UDP packets.Kjetil Ørbekk
2012-02-14Network creation and discovery in Android app.Kjetil Ørbekk
2012-02-13Remove TODO.Kjetil Ørbekk
– MyJsonRpcHttpClient takes care of the sequencing of requests.
2012-02-13Reuse Jetty server socket.Kjetil Ørbekk
– SameService used to get BindExceptions, try to avoid this by reusing server sockets.
2012-02-13Make Configuration.getInt() null safe.Kjetil Ørbekk
2012-02-13Fix broadcast code.Kjetil Ørbekk
– Send broadcast from SameController. – Correct usage of SO_REUSEADDR. – BroadcasterInterface for Android code.
2012-02-07Improve StateServlet interface.Kjetil Ørbekk
2012-02-07Remove unused code.Kjetil Ørbekk
Remove old State.toString() method.
2012-02-07Fix warnings.Kjetil Ørbekk
– Remove unused imports. – Remove unused variables.
2012-02-07Use DiscoveryService in app.Kjetil Ørbekk
2012-02-07Add DiscoveryService.Kjetil Ørbekk
2012-02-07Add interrupt() support to BroadcastListener.Kjetil Ørbekk
2012-02-06Support setting state in StateServlet.Kjetil Ørbekk
2012-02-06Show state in StateServlet.Kjetil Ørbekk
Support interacting with a Client.
2012-02-06Refactor: Rename classes.Kjetil Ørbekk
Rename Client and Master classes, because the classes contain more than just the service interfaces. – ClientServiceImpl => Client. – MasterServiceImpl => Master.
2012-02-06Add public constructor to Configuration.Kjetil Ørbekk
2012-02-06Support clients in generic App.Kjetil Ørbekk
2012-02-06Replace MasterApp with a generic App class.Kjetil Ørbekk
2012-02-06Deprecate SameInterface.Kjetil Ørbekk
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-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