All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.jigsaw.status.ThreadStatFrame

java.lang.Object
   |
   +----org.w3c.tools.resources.AttributeHolder
           |
           +----org.w3c.tools.resources.Resource
                   |
                   +----org.w3c.tools.resources.FramedResource
                           |
                           +----org.w3c.tools.resources.ResourceFrame
                                   |
                                   +----org.w3c.tools.resources.ProtocolFrame
                                           |
                                           +----org.w3c.jigsaw.frames.HTTPFrame
                                                   |
                                                   +----org.w3c.jigsaw.status.ThreadStatFrame

public class ThreadStatFrame
extends HTTPFrame
The server thread status. This ought to be the client status, it will shortly (FIXME). It should uses a two frame display, one listing the clients, and the other one listing per client informations.

By the Way, this uses the nasty refresh stuff from netscape. It should perhaps be a servlet.


Variable Index

 o ATTR_REFRESH
Attribute index - Our refresh interval.
 o REFRESH_DEFAULT

Constructor Index

 o ThreadStatFrame()

Method Index

 o dumpThread(Request)
 o get(Request)
Get the threads.
 o initialize(Object[])
Initialize the thread lister.
 o listThreads(Request)
Dump the currenr threads into an HTML page.
 o registerResource(FramedResource)
Register this frame to the given resource.

Variables

 o REFRESH_DEFAULT
 protected static Integer REFRESH_DEFAULT
 o ATTR_REFRESH
 protected static int ATTR_REFRESH
Attribute index - Our refresh interval.

Constructors

 o ThreadStatFrame
 public ThreadStatFrame()

Methods

 o registerResource
 public void registerResource(FramedResource resource)
Register this frame to the given resource.

Overrides:
registerResource in class HTTPFrame
 o listThreads
 public Reply listThreads(Request request)
Dump the currenr threads into an HTML page.

Parameters:
request - The request we are to reply to.
 o dumpThread
 protected Reply dumpThread(Request request) throws HTTPException
 o get
 public Reply get(Request request) throws HTTPException
Get the threads. If a search string is present, kill the indicated thread, otherwise list the currently running threads.

Parameters:
request - The request to handle.
Throws: HTTPException
If processing the request failed.
Overrides:
get in class HTTPFrame
 o initialize
 public void initialize(Object values[])
Initialize the thread lister. Just get a pointer to our runtime object.

Parameters:
values - The default attribute values.
Overrides:
initialize in class FramedResource

All Packages  Class Hierarchy  This Package  Previous  Next  Index