public class TestServerStarter extends LinkServerStarter
DEFAULT_PORT, serverPort
Constructor and Description |
---|
TestServerStarter(int port)
Starts the LinkServerStarter listening to the specified port.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] argv)
Start up the server.
|
java.lang.Thread |
startNewServer(java.net.Socket socket)
From the LinkServerFactory interface, starts up a new
LinkServer to handle a client.
|
getPort, run, setPort
public TestServerStarter(int port)
public java.lang.Thread startNewServer(java.net.Socket socket)
startNewServer
in class LinkServerStarter
socket
- socket to use to communicate to the client.Thread.start()
public static void main(java.lang.String[] argv)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details