summaryrefslogtreecommitdiff
path: root/src/main/java/net/transit/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/net/transit/network')
-rw-r--r--src/main/java/net/transit/network/system/Node.java9
-rw-r--r--src/main/java/net/transit/network/system/swap/AcceptorNode.java2
2 files changed, 10 insertions, 1 deletions
diff --git a/src/main/java/net/transit/network/system/Node.java b/src/main/java/net/transit/network/system/Node.java
index 9ab9812..6a661f3 100644
--- a/src/main/java/net/transit/network/system/Node.java
+++ b/src/main/java/net/transit/network/system/Node.java
@@ -28,6 +28,15 @@ public interface Node
*/
public Object getData(String groupID);
+
+ /** Set the group data for the node
+ *
+ * @param dat
+ * @param groupID
+ */
+ public void setData(Object dat, String groupID);
+
+
/** Get the nodes that this node is connected to
*
* @return Node[]
diff --git a/src/main/java/net/transit/network/system/swap/AcceptorNode.java b/src/main/java/net/transit/network/system/swap/AcceptorNode.java
index 69c07e7..2dfd7a5 100644
--- a/src/main/java/net/transit/network/system/swap/AcceptorNode.java
+++ b/src/main/java/net/transit/network/system/swap/AcceptorNode.java
@@ -12,7 +12,7 @@ public interface AcceptorNode extends Node
* @param group
* @return
*/
- public boolean linkProvider(Node requestor, String group);
+ public boolean linkProvider(Node requester, String group);
/** Unlink a provider from the acceptor