summaryrefslogtreecommitdiff
path: root/same/src
AgeCommit message (Collapse)Author
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 whitespace.Kjetil Ørbekk
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.
2012-01-16Change joinNetworkRequest.Kjetil Ørbekk
Remove networkName parameter to reduce the necessary information to join a network.
2012-01-16Fix ping discovery.Kjetil Ørbekk
2012-01-16Add ClientApp – a server hosting a ClientService.Kjetil Ørbekk
2012-01-16Fix URL handling in RpcHandler.Kjetil Ørbekk
Report http://ip:port/ as URL. Removes SameService.json part.
2012-01-16Add MasterApp – a MasterService server.Kjetil Ørbekk
2012-01-16Change Broadcaster factory method.Kjetil Ørbekk
2012-01-16Implement updateStateRequest().Kjetil Ørbekk
– Verify that states are synchronized to all clients.
2012-01-16Fix failing test.Kjetil Ørbekk
Add equals() to State.
2012-01-16Send state to clients.Kjetil Ørbekk
– Adds failing test - need to compare states of master and client.
2012-01-16Add assert in test of Master.Kjetil Ørbekk
2012-01-16Add failing master test.Kjetil Ørbekk
Fails because client implementation is not finished.
2012-01-16Add ClientServiceImpl class.Kjetil Ørbekk
2012-01-16Fix failing test.Kjetil Ørbekk
Uses test component to avoid NullPointerException.
2012-01-16Add TestConnectionManager.Kjetil Ørbekk
2012-01-15Add TestBroadcaster.Kjetil Ørbekk
TestBroadcaster implements a single-threaded broadcaster suitable for testing.
2012-01-15Make Broadcaster testable.Kjetil Ørbekk
2012-01-15Move old SameService files out of the way.Kjetil Ørbekk
2012-01-15Add broadcasting from master.Kjetil Ørbekk
2012-01-15Change ConnectionManager.Kjetil Ørbekk
Support Client and Master connections.
2012-01-15Remove 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-15Switch parameter order for consistency.Kjetil Ørbekk
2012-01-13Bring back worker thread.Kjetil Ørbekk
:(
2012-01-13Maintain a set of recently updated components in State.Kjetil Ørbekk
2012-01-13Add support for JSON state.Kjetil Ørbekk
Use Jackson for serialization and deserialization of JSON objects.
2012-01-13Add new Client and Master interfaces.Kjetil Ørbekk
Begin implementing Master interface.