Class sun.server.http.NtServiceHandler
All Packages Class Hierarchy This Package Previous Next Index
Class sun.server.http.NtServiceHandler
java.lang.Object
|
+----java.lang.Thread
|
+----sun.server.http.NtServiceHandler
- public class NtServiceHandler
- extends Thread
This class implements an NT Service Handler
-
NtServiceHandler(HttpServer)
- Creates a new NT Service handler for the specified server.
-
run()
- The run method invokes a native method on NT, that creates a named
Jeeves event, and waits on it indefinitely.
NtServiceHandler
public NtServiceHandler(HttpServer server)
- Creates a new NT Service handler for the specified server.
- Parameters:
- server - the server for this handler
run
public void run()
- The run method invokes a native method on NT, that creates a named
Jeeves event, and waits on it indefinitely. When the event is triggered
by the Service Handler, in response to the request to stop the Jeeves
Service, the native method returns. At this point the run method invokes
the server shutdown method and returns.
- Overrides:
- run in class Thread
All Packages Class Hierarchy This Package Previous Next Index