com.bbn.openmap.layer.link.shape
Class ShapeServerStarter
java.lang.Object
com.bbn.openmap.layer.link.LinkServerStarter
com.bbn.openmap.layer.link.shape.ShapeServerStarter
public class ShapeServerStarter
- extends LinkServerStarter
This class starts ShapeLinkServers on a per-client basis. A usage
statement is printed out if you run this class without arguments.
Field Summary |
protected java.lang.String |
shapeFile
|
Method Summary |
static void |
main(java.lang.String[] argv)
|
java.lang.Thread |
startNewServer(java.net.Socket sock)
This method gets called to create a new server to handle a new
connection. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
shapeFile
protected java.lang.String shapeFile
ShapeServerStarter
public ShapeServerStarter(int port,
java.lang.String shapeFile,
java.lang.String shapeIndex)
ShapeServerStarter
public ShapeServerStarter(int port,
java.lang.String shapeFile)
startNewServer
public java.lang.Thread startNewServer(java.net.Socket sock)
- Description copied from class:
LinkServerStarter
- This method gets called to create a new server to handle a new
connection. Thread.start() will get called on the returned
thread. This method should always get overridden.
- Overrides:
startNewServer
in class LinkServerStarter
- Parameters:
sock
- the socket connection
- Returns:
- a thread that will get started
- See Also:
Thread.start()
main
public static void main(java.lang.String[] argv)
Copyright (C) BBNT Solutions LLC; See http://openmap.bbn.com/ for details