...
[nikiroo-utils.git] / src / be / nikiroo / utils / serial / server / ConnectActionServerObject.java
index e0e4276059d7044e9c01d0e3b6b127d3e575ca95..3457a08f74cb01fad266ea2ad58e0b6d7fa35f2d 100644 (file)
@@ -21,21 +21,12 @@ public class ConnectActionServerObject 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 ConnectActionServerObject(Socket s) {
-               super(s);
-       }
-
-       /**
-        * Create a new {@link ConnectActionServerObject}.
-        * 
-        * @param s
-        *            the socket to bind to
-        * @param version
-        *            the server version
-        */
-       public ConnectActionServerObject(Socket s, Version version) {
-               super(s, version);
+       public ConnectActionServerObject(Socket s, String key) {
+               super(s, key);
        }
 
        /**