java.lang.Runnablepublic class Server
extends java.lang.Object
implements java.lang.Runnable
| Constructor | Description |
|---|---|
Server(ServerTask task,
int port) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
run() |
|
void |
start() |
|
void |
stop() |
public Server(ServerTask task, int port)