Java технологія. Основні риси та перспективи застосування, Детальна інформація
Java технологія. Основні риси та перспективи застосування
server.kill(this);
try {
sock.close(); // closes in and out too.
} catch (IOException e) {
}
}
public void write(String s) {
byte buf[] = new byte[s.length()];
s.getBytes(0, buf.length, buf, 0);
try {
out.write(buf, 0, buf.length);
} catch (IOException e) {
close();
}
}
private String readline() {
try {
return in.readLine();
} catch (IOException e) {
return null;
}
}
static private final int NAME = 1;
static private final int QUIT = 2;
static private final int TO = 3;
static private final int DELETE = 4;
static private Hashtable keys = new Hashtable();
static private String keystrings[] = {
"", "name", "quit", "to", "delete"
};
try {
sock.close(); // closes in and out too.
} catch (IOException e) {
}
}
public void write(String s) {
byte buf[] = new byte[s.length()];
s.getBytes(0, buf.length, buf, 0);
try {
out.write(buf, 0, buf.length);
} catch (IOException e) {
close();
}
}
private String readline() {
try {
return in.readLine();
} catch (IOException e) {
return null;
}
}
static private final int NAME = 1;
static private final int QUIT = 2;
static private final int TO = 3;
static private final int DELETE = 4;
static private Hashtable keys = new Hashtable();
static private String keystrings[] = {
"", "name", "quit", "to", "delete"
};
The online video editor trusted by teams to make professional video in
minutes
© Referats, Inc · All rights reserved 2021