* the port to listen on, or 0 to assign any unallocated port
* found (which can later on be queried via
* {@link ServerString#getPort()}
* the port to listen on, or 0 to assign any unallocated port
* found (which can later on be queried via
* {@link ServerString#getPort()}
* if the port parameter is outside the specified range of valid
* port values, which is between 0 and 65535, inclusive
*/
* if the port parameter is outside the specified range of valid
* port values, which is between 0 and 65535, inclusive
*/
* if the port parameter is outside the specified range of valid
* port values, which is between 0 and 65535, inclusive
*/
* if the port parameter is outside the specified range of valid
* port values, which is between 0 and 65535, inclusive
*/
- public ServerString(String name, int port, boolean ssl) throws IOException {
- super(name, port, ssl);
+ public ServerString(String name, int port, String key) throws IOException {
+ super(name, port, key);
@Override
public void action(Version clientVersion) throws Exception {
for (String data = rec(); data != null; data = rec()) {
String rep = null;
try {
rep = onRequest(this, clientVersion, data);
@Override
public void action(Version clientVersion) throws Exception {
for (String data = rec(); data != null; data = rec()) {
String rep = null;
try {
rep = onRequest(this, clientVersion, data);