summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/isode/stroke/network/ConnectionServerFactory.java')
-rw-r--r--src/com/isode/stroke/network/ConnectionServerFactory.java24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/com/isode/stroke/network/ConnectionServerFactory.java b/src/com/isode/stroke/network/ConnectionServerFactory.java
new file mode 100644
index 0000000..a23291b
--- /dev/null
+++ b/src/com/isode/stroke/network/ConnectionServerFactory.java
@@ -0,0 +1,24 @@
+/*
+ * Copyright (c) 2011 Jan Kaluza
+ * Licensed under the Simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+/*
+ * Copyright (c) 2015 Isode Limited.
+ * All rights reserved.
+ * See the COPYING file for more information.
+ */
+/*
+ * Copyright (c) 2015 Tarun Gupta.
+ * Licensed under the simplified BSD license.
+ * See Documentation/Licenses/BSD-simplified.txt for more information.
+ */
+
+package com.isode.stroke.network;
+
+public interface ConnectionServerFactory {
+
+ public ConnectionServer createConnectionServer(int port);
+
+ public ConnectionServer createConnectionServer(final HostAddress hostAddress, int port);
+} \ No newline at end of file