summaryrefslogtreecommitdiff
path: root/same/src/main/java/com/orbekk/same/Master.java
AgeCommit message (Collapse)Author
2012-05-07State-wide revision field maintained by master.Kjetil Ørbekk
2012-05-01Add license header to all source files.Kjetil Ørbekk
2012-04-30Send state updates after master takeover.Kjetil Ørbekk
2012-04-25Set timeouts for all RPCs.Kjetil Ørbekk
Implemented with an RpcFactory.
2012-04-24Remove Broadcaster.Kjetil Ørbekk
– Broadcaster is not needed anymore with asynchronous RPC.
2012-04-24Remember to register client service.Kjetil Ørbekk
2012-04-24Fix master takeover code.Kjetil Ørbekk
– Use the new services to send a MasterTakeover(). – Remove some old broadcast code. – Remove MasterProposerTest because this functionality is well enough covered by the functional test. – Remove HTTP services from PaxosServiceFunctionalTest. – Fix master takeover test.
2012-04-17Master→Client communication uses protobuf services.Kjetil Ørbekk
– This change causes inconsistency in the .participants list and as a result some Paxos related tests run infinitely.
2012-04-17Master sends update requests using protobuf service.Kjetil Ørbekk
2012-04-17Client registers with protobuf service location.Kjetil Ørbekk
2012-04-17Add new participants list.Kjetil Ørbekk
The new list, '.participants0' will hold the location of the protobuf services of clients.
2012-04-11Client → Master communication now only protobuf-rpc.Kjetil Ørbekk
2012-04-11Change Client.joinNetwork.Kjetil Ørbekk
Take MasterState instead of a simple URL.
2012-04-11Add "masterLocation" variable.Kjetil Ørbekk
This is the protobuffer service location for the master.
2012-04-11Same hosts a protobuf server.Kjetil Ørbekk
2012-04-10Add protobuf Master service.Kjetil Ørbekk
2012-03-27Fix state bug.0.3Kjetil Ørbekk
Make sure to copy the state when creating a new master. Using the same state instance on the master and client is a disaster.
2012-03-27Change same-android to work with new Same version.Kjetil Ørbekk
2012-03-20Various fixes related to takeover.Kjetil Ørbekk
2012-03-20Fix issues when transfering to new master.Kjetil Ørbekk
.masterUrl needs to be set explicitly. Some other fixes.
2012-03-20Master has to advertise its ID when taking over.Kjetil Ørbekk
2012-03-13Clients can become new masters.Kjetil Ørbekk
2012-03-13Add MasterController interface.Kjetil Ørbekk
This interface should be used by a client in order to become a master.
2012-03-12Fix failing functional test.Kjetil Ørbekk
2012-03-12Add failing functional test.Kjetil Ørbekk
Test fails because of the new ConnectionState that is not properly implemented.
2012-02-27Clean up source code.Kjetil Ørbekk
Clean up source code with Eclipse. In particular remove tabs.
2012-02-16Replace Master with new implementation.Kjetil Ørbekk
2012-02-14Network creation and discovery in Android app.Kjetil Ørbekk
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.