|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphp.java.bridge.http.FCGIConnectionFactory
public abstract class FCGIConnectionFactory
A factory which creates FastCGI channels.
| Constructor Summary | |
|---|---|
FCGIConnectionFactory(IFCGIProcessFactory processFactory)
Create a new FCGIConnectionFactory using a FCGIProcessFactory |
|
| Method Summary | |
|---|---|
abstract FCGIConnection |
connect()
Connect to the FastCGI server and return the connection handle. |
static FCGIConnectionFactory |
createChannelFactory(IFCGIProcessFactory processFactory,
boolean promiscuous)
Create a new ChannelFactory. |
void |
destroy()
|
abstract void |
findFreePort(boolean select)
Find a free port or pipe name. |
abstract java.lang.String |
getFcgiStartCommand(java.lang.String base,
java.lang.String php_fcgi_max_requests)
Return a command which may be useful for starting the FastCGI server as a separate command. |
void |
initialize()
For backward compatibility the "JavaBridge" context uses the port 9667 (Linux/Unix) or \\.\pipe\JavaBridge@9667 (Windogs). |
boolean |
startServer(ILogger logger)
Start the FastCGI server |
abstract void |
test()
Test the FastCGI server. |
abstract java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FCGIConnectionFactory(IFCGIProcessFactory processFactory)
processFactory - the FCGIProcessFactory| Method Detail |
|---|
public final boolean startServer(ILogger logger)
public abstract void test()
throws FCGIConnectException
FCGIConnectException - thrown if a IOException occured.public void destroy()
public abstract FCGIConnection connect()
throws FCGIConnectException
FCGIConnectException - thrown if a IOException occured.public void initialize()
\\.\pipe\JavaBridge@9667 (Windogs).
public abstract java.lang.String getFcgiStartCommand(java.lang.String base,
java.lang.String php_fcgi_max_requests)
base - The context directoryphp_fcgi_max_requests - The number of requests, see appropriate servlet option.
public abstract void findFreePort(boolean select)
select - If select is true, the default name should be used.
public static FCGIConnectionFactory createChannelFactory(IFCGIProcessFactory processFactory,
boolean promiscuous)
public abstract java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||