- /**
- * Create a new {@link ConnectActionClient} with the current application
- * version (see {@link Version#getCurrentVersion()}) as the client version.
- *
- * @param s
- * the socket to bind to
- */
- public ConnectActionClient(Socket s) {
- this(s, Version.getCurrentVersion());
- }
-
- /**
- * Create a new {@link ConnectActionClient} with the current application
- * version (see {@link Version#getCurrentVersion()}) as the client version.
- *
- * @param host
- * the host to bind to
- * @param port
- * the port to bind to
- * @param ssl
- * TRUE for an SSL connection, FALSE for plain text
- *
- * @throws IOException
- * in case of I/O error when creating the socket
- */
- public ConnectActionClient(String host, int port, boolean ssl)
- throws IOException {
- this(Server.createSocket(host, port, ssl), Version.getCurrentVersion());
- }
-