|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectphp.java.servlet.fastcgi.ChannelName
public abstract class ChannelName
A factory which creates FastCGI channels.
Constructor Summary | |
---|---|
ChannelName()
|
Method Summary | |
---|---|
abstract php.java.servlet.fastcgi.Channel |
connect()
Connect to the FastCGI server and return the connection handle. |
abstract void |
findFreePort(boolean select)
Find a free port or pipe name. |
static ChannelName |
getChannelName()
Create a new ChannelName. |
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(PhpCGIServlet servlet,
PhpCGIServlet.CGIEnvironment env,
java.lang.String contextPath)
For backward compatibility the "JavaBridge" context uses the port 9667 (Linux/Unix) or \\. |
abstract void |
test()
Test the FastCGI server. |
java.lang.String |
toString()
Return the channel name |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ChannelName()
Method Detail |
---|
public abstract void test() throws ConnectException
ConnectException
- thrown if a IOException occured.public abstract php.java.servlet.fastcgi.Channel connect() throws ConnectException
ConnectException
- thrown if a IOException occured.public void initialize(PhpCGIServlet servlet, PhpCGIServlet.CGIEnvironment env, java.lang.String contextPath)
servlet
- The servletenv
- The current CGI environment.contextPath
- The path of the web contextpublic 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 ChannelName getChannelName()
public 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 |