Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--protocols/bundles/ch.ethz.iks.slp/src/main/java/ch/ethz/iks/slp/impl/SLPConfiguration.java11
1 files changed, 9 insertions, 2 deletions
diff --git a/protocols/bundles/ch.ethz.iks.slp/src/main/java/ch/ethz/iks/slp/impl/SLPConfiguration.java b/protocols/bundles/ch.ethz.iks.slp/src/main/java/ch/ethz/iks/slp/impl/SLPConfiguration.java
index d2ea7114c..cf68fca2e 100644
--- a/protocols/bundles/ch.ethz.iks.slp/src/main/java/ch/ethz/iks/slp/impl/SLPConfiguration.java
+++ b/protocols/bundles/ch.ethz.iks.slp/src/main/java/ch/ethz/iks/slp/impl/SLPConfiguration.java
@@ -513,11 +513,18 @@ class SLPConfiguration {
return CONVERGENCE_FAILERCOUNT;
}
- public boolean getDebugEnabled() {
+ /**
+ * Whether Debug mode is turned on or off
+ * @return true if debug mode is enabled
+ */
+ boolean getDebugEnabled() {
return DEBUG_ENABLED;
}
- public int getTCPTimeout() {
+ /**
+ * @return int defining when a TCP send should time out
+ */
+ int getTCPTimeout() {
// TODO wire this to the properties if necessary
return 5000; // 5sec
}

Back to the top