New Server class to send/rec objects via network
[nikiroo-utils.git] / src / be / nikiroo / utils / serial / ConnectActionClient.java
1 package be.nikiroo.utils.serial;
2
3 import java.io.IOException;
4 import java.net.Socket;
5
6 import be.nikiroo.utils.Version;
7
8 public class ConnectActionClient extends ConnectAction {
9 protected ConnectActionClient(Socket s) {
10 super(s, false, Version.getCurrentVersion());
11 }
12
13 protected ConnectActionClient(Socket s, Version version) {
14 super(s, false, version);
15 }
16
17 protected ConnectActionClient(String host, int port, boolean ssl)
18 throws IOException {
19 super(Server.createSocket(host, port, ssl), false, Version
20 .getCurrentVersion());
21 }
22
23 protected ConnectActionClient(String host, int port, boolean ssl,
24 Version version) throws IOException {
25 super(Server.createSocket(host, port, ssl), false, version);
26 }
27
28 @Override
29 public void action(Version serverVersion) throws Exception {
30 }
31 }