Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: espog/DistCity
base: e18526a112
...
head fork: espog/DistCity
compare: 6954d8a2b0
  • 4 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
View
18 src/algorithms/BestEffortBroadcast.java
@@ -0,0 +1,18 @@
+package algorithms;
+import channels.Message;
+
+public class BestEffortBroadcast {
+
+ public BestEffortBroadcast() {
+ // TODO Auto-generated constructor stub
+ }
+
+ public void Broadcast(Message m){
+
+ }
+
+ public void Deliver(Message m){
+
+ }
+
+}
View
17 src/bankNode/BankNode.java
@@ -0,0 +1,17 @@
+package bankNode;
+
+import java.util.HashMap;
+
+public class BankNode {
+
+ private HashMap BankMap;
+
+ public BankNode() {
+ BankMap = new HashMap(10);
+ }
+
+ public HashMap getBankMap(){
+ return BankMap;
+ }
+
+}
View
20 src/bankNode/PerfectFailureDetector.java
@@ -0,0 +1,20 @@
+package bankNode;
+
+import java.util.HashMap;
+import java.util.Timer;
+
+public class PerfectFailureDetector {
+
+ private HashMap alive;
+ private HashMap detected;
+ private Timer timer;
+
+ public PerfectFailureDetector() {
+ alive = getBankMap();
+ detected = null;
+
+ }
+ public void TimeOut(){
+
+ }
+}

No commit comments for this range

Something went wrong with that request. Please try again.