git://git.nikiroo.be
/
nikiroo-utils.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
...
[nikiroo-utils.git]
/
src
/
be
/
nikiroo
/
utils
/
serial
/
server
/
ConnectActionServerString.java
diff --git
a/src/be/nikiroo/utils/serial/server/ConnectActionServerString.java
b/src/be/nikiroo/utils/serial/server/ConnectActionServerString.java
index 35dd4dd1985fb810c8300d4a810f16f227efd5a8..545e4b79fdae73c494333240443bc2c47db57d29 100644
(file)
--- a/
src/be/nikiroo/utils/serial/server/ConnectActionServerString.java
+++ b/
src/be/nikiroo/utils/serial/server/ConnectActionServerString.java
@@
-21,9
+21,12
@@
public class ConnectActionServerString extends ConnectActionServer {
*
* @param s
* the socket to bind to
*
* @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);
+ public ConnectActionServerString(Socket s
, String key
) {
+ super(s
, key
);
}
/**
}
/**
@@
-31,11
+34,14
@@
public class ConnectActionServerString extends ConnectActionServer {
*
* @param s
* the socket to bind to
*
* @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)
* @param version
* the server version
*/
* @param version
* the server version
*/
- public ConnectActionServerString(Socket s, Version version) {
- super(s, version);
+ public ConnectActionServerString(Socket s,
String key,
Version version) {
+ super(s,
key,
version);
}
/**
}
/**