

Public Member Functions | |
| LSDWebPoolConnection (LSDDbIpPort ipport, LSDWebClientGetSessionHandler lwcgsh) | |
| LSDWebClientGet | getGet () |
| void | close (LSDWebClientGet session) |
| void | close (LSDClientCommon client) |
| void | remove (LSDClientCommon client) |
| int | getNbInPool () |
| int | checkNbInPool () |
| void | closeAll () |
Private Attributes | |
| LSDDbIpPort | ipport = null |
| LSDWebClientGetSessionHandler | lwcgsh = null |
| int | count = 0 |
| ConcurrentLinkedQueue < LSDWebClientGet > | list = null |
| openlsd.web.extension.LSDWebPoolConnection.LSDWebPoolConnection | ( | LSDDbIpPort | ipport, | |
| LSDWebClientGetSessionHandler | lwcgsh | |||
| ) |
Constructor
| ipport | ||
| lwcgsh |
| LSDWebClientGet openlsd.web.extension.LSDWebPoolConnection.getGet | ( | ) |
Get One WebGet Client
| void openlsd.web.extension.LSDWebPoolConnection.close | ( | LSDWebClientGet | session | ) |
Returns the session in the pool
| session |
| void openlsd.web.extension.LSDWebPoolConnection.close | ( | LSDClientCommon | client | ) | [virtual] |
| void openlsd.web.extension.LSDWebPoolConnection.remove | ( | LSDClientCommon | client | ) | [virtual] |
| int openlsd.web.extension.LSDWebPoolConnection.getNbInPool | ( | ) |
Returns the number of sessions in the pool
| int openlsd.web.extension.LSDWebPoolConnection.checkNbInPool | ( | ) |
Returns the number of active sessions in the pool
| void openlsd.web.extension.LSDWebPoolConnection.closeAll | ( | ) |
Close all connections
LSDDbIpPort openlsd.web.extension.LSDWebPoolConnection.ipport = null [private] |
Associated ipport
The associated Get Client Session Handler
int openlsd.web.extension.LSDWebPoolConnection.count = 0 [private] |
Number of sessions in pool
ConcurrentLinkedQueue<LSDWebClientGet> openlsd.web.extension.LSDWebPoolConnection.list = null [private] |
List of Web Get Client