public interface ConnectionFactory
Modifier and Type | Method and Description |
---|---|
Socket |
getConnection()
Called when a connection is needed.
|
void |
releaseConnection(Socket socket)
Called when a connection is released (not needed anymore)
Note : it doesn't mean that the socket should be closed at all, but notifies that this connection is no more
needed for a particular request.
|
Socket getConnection()
void releaseConnection(Socket socket)
socket
- Copyright © 2009-2012 Julien Rialland, and the jFastCGI project developpers.. All Rights Reserved.