summaryrefslogtreecommitdiff
path: root/src/org/noreply/fancydress/type3/routing/RoutingForward.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/noreply/fancydress/type3/routing/RoutingForward.java')
-rw-r--r--src/org/noreply/fancydress/type3/routing/RoutingForward.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/org/noreply/fancydress/type3/routing/RoutingForward.java b/src/org/noreply/fancydress/type3/routing/RoutingForward.java
index 183696a..7c05eed 100644
--- a/src/org/noreply/fancydress/type3/routing/RoutingForward.java
+++ b/src/org/noreply/fancydress/type3/routing/RoutingForward.java
@@ -38,5 +38,18 @@ public abstract class RoutingForward extends Routing {
public byte[] getKeyID() {
return keyid;
}
+
+ /**
+ * Get the hostname needed for connectig to the node.
+ *
+ * @return hostname.
+ */
+ public abstract String getHostname();
+ /**
+ * Get the port needed for connectig to the node.
+ *
+ * @return port
+ */
+ public abstract int getPort();
}