Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.acme.gui.presObjs
Class StreamPO  view StreamPO download StreamPO.java

java.lang.Object
  extended bycom.acme.gui.presObjs.StreamPO
All Implemented Interfaces:
com.lutris.appserver.server.httpPresentation.HttpPresentation

public class StreamPO
extends java.lang.Object
implements com.lutris.appserver.server.httpPresentation.HttpPresentation


Field Summary
private static boolean stop
           
 
Constructor Summary
StreamPO()
           
 
Method Summary
private  java.lang.String getParam(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms, java.lang.String name)
           
 void run(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
          Run the Presentation Object passing it an HTTP request to handle.
private  void updateFrameText(com.lutris.appserver.server.httpPresentation.HttpPresentationOutputStream out, java.lang.String frame, java.lang.String text)
           
private  void wasteTime(int factor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

stop

private static boolean stop
Constructor Detail

StreamPO

public StreamPO()
Method Detail

getParam

private java.lang.String getParam(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms,
                                  java.lang.String name)
                           throws com.lutris.appserver.server.httpPresentation.HttpPresentationException

wasteTime

private void wasteTime(int factor)

updateFrameText

private void updateFrameText(com.lutris.appserver.server.httpPresentation.HttpPresentationOutputStream out,
                             java.lang.String frame,
                             java.lang.String text)
                      throws java.io.IOException

run

public void run(com.lutris.appserver.server.httpPresentation.HttpPresentationComms comms)
         throws java.lang.Exception
Description copied from interface: com.lutris.appserver.server.httpPresentation.HttpPresentation
Run the Presentation Object passing it an HTTP request to handle. Presentation objects differ from Servlets in that they are only called to handle a single request at a time. No concurrency control is required. The presentation should be coded in such a way that it can handle multiple, non-concurrent requests or have a lifetime of a single request.

Specified by:
run in interface com.lutris.appserver.server.httpPresentation.HttpPresentation