| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphp.java.script.Continuation
public abstract class Continuation
This class represents the logic to run PHP scripts through CGI, FastCGI or on a remote HTTP server (accessed through URLReader).
HttpServer, 
URLReader, 
HttpProxy| Method Summary | |
|---|---|
|  void | call(java.lang.Object script)The PHP script must call this function with the current continuation as an argument. | 
|  java.lang.Object | getPhpScript()One must call this function if one is interested in the php continuation. | 
|  void | release()This function must be called to release the allocated php continuation. | 
|  void | run() | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public void run()
run in interface java.lang.Runnable
public void call(java.lang.Object script)
          throws java.lang.InterruptedException
Example:
 
 java_context()->call(java_closure());
 
call in interface IContinuationscript - - The php continuation
java.lang.InterruptedException
public java.lang.Object getPhpScript()
                              throws java.lang.Exception
getPhpScript in interface IContinuationjava.lang.Exception
public void release()
             throws java.lang.InterruptedException
release in interface IContinuationjava.lang.InterruptedException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||