    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.

##

ATTR_REFRESH
  Attribute index - Our refresh interval.
REFRESH_DEFAULT

##

ThreadStatFrame()

##

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

##

REFRESH_DEFAULT

     protected static Integer REFRESH_DEFAULT

ATTR_REFRESH

     protected static int ATTR_REFRESH

  Attribute index - Our refresh interval.

##

ThreadStatFrame

     public ThreadStatFrame()

##

registerResource

     public void registerResource(FramedResource resource)

  Register this frame to the given resource.

  Overrides:
    registerResource in class HTTPFrame

listThreads

     public Reply listThreads(Request request)

  Dump the currenr threads into an HTML page.

  Parameters:
    request - The request we are to reply to.

dumpThread

     protected Reply dumpThread(Request request) throws HTTPException

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

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