...
[nikiroo-utils.git] / src / be / nikiroo / utils / serial / server / ConnectActionServerString.java
index 35dd4dd1985fb810c8300d4a810f16f227efd5a8..2c3ad8ff1e31c9919ebe4ff06820d351c13c5e63 100644 (file)
@@ -21,21 +21,12 @@ public class ConnectActionServerString extends ConnectActionServer {
         * 
         * @param s
         *            the socket to bind to
+        * @param key
+        *            an optional key to encrypt all the communications (if NULL,
+        *            everything will be sent in clear text)
         */
-       public ConnectActionServerString(Socket s) {
-               super(s);
-       }
-
-       /**
-        * Create a new {@link ConnectActionServerString}.
-        * 
-        * @param s
-        *            the socket to bind to
-        * @param version
-        *            the server version
-        */
-       public ConnectActionServerString(Socket s, Version version) {
-               super(s, version);
+       public ConnectActionServerString(Socket s, String key) {
+               super(s, key);
        }
 
        /**