[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11260: added getDirPort method to RouterNode (in puppetor/trunk/src/de/uniba/wiai/lspi/puppetor: . impl)
Author: kloesing
Date: 2007-08-24 03:24:16 -0400 (Fri, 24 Aug 2007)
New Revision: 11260
Modified:
puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/RouterNode.java
puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/impl/RouterNodeImpl.java
Log:
added getDirPort method to RouterNode
Modified: puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/RouterNode.java
===================================================================
--- puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/RouterNode.java 2007-08-24 06:33:12 UTC (rev 11259)
+++ puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/RouterNode.java 2007-08-24 07:24:16 UTC (rev 11260)
@@ -63,4 +63,11 @@
public abstract String determineFingerprintBase32()
throws TorProcessException;
+ /**
+ * Returns the dir port of this node.
+ *
+ * @return The dir port of this node.
+ */
+ public abstract int getDirPort();
+
}
Modified: puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/impl/RouterNodeImpl.java
===================================================================
--- puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/impl/RouterNodeImpl.java 2007-08-24 06:33:12 UTC (rev 11259)
+++ puppetor/trunk/src/de/uniba/wiai/lspi/puppetor/impl/RouterNodeImpl.java 2007-08-24 07:24:16 UTC (rev 11260)
@@ -296,4 +296,8 @@
}
return this.nodeName + " (" + fp + ")";
}
+
+ public int getDirPort() {
+ return this.dirPort;
+ }
}