summaryrefslogtreecommitdiff
path: root/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/noreply/fancydress/type3/routing/RoutingHOST.java')
-rw-r--r--src/org/noreply/fancydress/type3/routing/RoutingHOST.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/org/noreply/fancydress/type3/routing/RoutingHOST.java b/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
index 6138c2e..be568b4 100644
--- a/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
+++ b/src/org/noreply/fancydress/type3/routing/RoutingHOST.java
@@ -94,5 +94,21 @@ public class RoutingHOST extends RoutingForward {
return result;
}
+ /**
+ * Get the hostname needed for connectig to the node.
+ *
+ * @return hostname.
+ */
+ public String getHostname() {
+ return hostname;
+ }
+ /**
+ * Get the port needed for connectig to the node.
+ *
+ * @return port
+ */
+ public int getPort() {
+ return port;
+ }
}