ucar.unidata.idv
Class OneInstanceServer
java.lang.Object
ucar.unidata.util.HttpServer
ucar.unidata.idv.OneInstanceServer
public class OneInstanceServer
- extends HttpServer
Used for other idv instances to connect to so we only have one running at a time.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ARG_ARGS
public static final String ARG_ARGS
- http arg
- See Also:
- Constant Field Values
OneInstanceServer
public OneInstanceServer(IntegratedDataViewer idv,
int port)
- ctor
- Parameters:
idv - The idvport - The port to listen on
handleError
protected void handleError(String msg,
Exception exc)
- Handle the error
- Overrides:
handleError in class HttpServer
- Parameters:
msg - Error message_exc - Exception
doMakeRequestHandler
protected HttpServer.RequestHandler doMakeRequestHandler(Socket socket)
throws Exception
- Make the handler for this connection
- Overrides:
doMakeRequestHandler in class HttpServer
- Parameters:
socket - The connection
- Returns:
- The handler
- Throws:
Exception - On badness