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

Constructor Index

 o NtServiceHandler(HttpServer)
Creates a new NT Service handler for the specified server.

Method Index

 o run()
The run method invokes a native method on NT, that creates a named Jeeves event, and waits on it indefinitely.

Constructors

 o NtServiceHandler
  public NtServiceHandler(HttpServer server)
Creates a new NT Service handler for the specified server.
Parameters:
server - the server for this handler

Methods

 o 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