public class TestChatServer
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TestChatServer.ChatMessage |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAME |
static int |
PORT |
static int |
UDP_PORT |
static int |
VERSION |
Constructor and Description |
---|
TestChatServer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
static void |
initializeClasses() |
boolean |
isRunning() |
static void |
main(java.lang.String... args) |
protected void |
runCommand(HostedConnection conn,
java.lang.String user,
java.lang.String command) |
void |
start() |
public static final java.lang.String NAME
public static final int VERSION
public static final int PORT
public static final int UDP_PORT
public TestChatServer() throws java.io.IOException
java.io.IOException
public boolean isRunning()
public void start()
public void close()
protected void runCommand(HostedConnection conn, java.lang.String user, java.lang.String command)
public static void initializeClasses()
public static void main(java.lang.String... args) throws java.lang.Exception
java.lang.Exception