openlsd.multiple.ophandler.common.LSDPoolConnection Class Reference

Inheritance diagram for openlsd.multiple.ophandler.common.LSDPoolConnection:

Inheritance graph
[legend]
Collaboration diagram for openlsd.multiple.ophandler.common.LSDPoolConnection:

Collaboration graph
[legend]

List of all members.


Detailed Description

This class implements lists of pooled connections to one remote OpenLSD Server.
Author:
Frederic BREGIER LGPL 2007

Public Member Functions

 LSDPoolConnection (LSDDbIpPort ipPort)
LSDPoolClientDelete getDelete ()
LSDPoolClientPut getPut ()
LSDPoolClientInfo getInfo ()
LSDPoolClientGet getGet ()
LSDPoolClientMove getMove ()
void close (LSDPoolClientDelete client)
void close (LSDPoolClientPut client)
void close (LSDPoolClientInfo client)
void close (LSDPoolClientGet client)
void close (LSDPoolClientMove client)
int[] getNbInPool ()
int[] checkNbInPool ()
void closeAll ()
void close (LSDClientCommon client)
void remove (LSDClientCommon client)

Public Attributes

LSDDbIpPort ipport = null
LinkedList< LSDPoolClientDeletelistDelete = null
LinkedList< LSDPoolClientPutlistPut = null
LinkedList< LSDPoolClientInfolistInfo = null
LinkedList< LSDPoolClientGetlistGet = null
LinkedList< LSDPoolClientMovelistMove = null
int[] count = {0,0,0,0,0}

Static Public Attributes

static final int rankD = 0
static final int rankP = 1
static final int rankI = 2
static final int rankG = 3
static final int rankM = 4

Constructor & Destructor Documentation

openlsd.multiple.ophandler.common.LSDPoolConnection.LSDPoolConnection ( LSDDbIpPort  ipPort  ) 

Create one Pool of connections for this IpPort

Parameters:
ipPort 


Member Function Documentation

LSDPoolClientDelete openlsd.multiple.ophandler.common.LSDPoolConnection.getDelete (  ) 

Get One Delete Client

Returns:
The client in pool mode or null

LSDPoolClientPut openlsd.multiple.ophandler.common.LSDPoolConnection.getPut (  ) 

Get One Put Client

Returns:
The client in pool mode or null

LSDPoolClientInfo openlsd.multiple.ophandler.common.LSDPoolConnection.getInfo (  ) 

Get One Info Client

Returns:
The client in pool mode or null

LSDPoolClientGet openlsd.multiple.ophandler.common.LSDPoolConnection.getGet (  ) 

Get One Get Client

Returns:
The client in pool mode or null

LSDPoolClientMove openlsd.multiple.ophandler.common.LSDPoolConnection.getMove (  ) 

Get One Move Client

Returns:
The client in pool mode or null

void openlsd.multiple.ophandler.common.LSDPoolConnection.close ( LSDPoolClientDelete  client  ) 

Returns the session in the pool

Parameters:
client 

void openlsd.multiple.ophandler.common.LSDPoolConnection.close ( LSDPoolClientPut  client  ) 

Returns the session in the pool

Parameters:
client 

void openlsd.multiple.ophandler.common.LSDPoolConnection.close ( LSDPoolClientInfo  client  ) 

Returns the session in the pool

Parameters:
client 

void openlsd.multiple.ophandler.common.LSDPoolConnection.close ( LSDPoolClientGet  client  ) 

Returns the session in the pool

Parameters:
client 

void openlsd.multiple.ophandler.common.LSDPoolConnection.close ( LSDPoolClientMove  client  ) 

Returns the session in the pool

Parameters:
client 

int [] openlsd.multiple.ophandler.common.LSDPoolConnection.getNbInPool (  ) 

Returns the number of sessions in the pool

Returns:
the number of sessions

int [] openlsd.multiple.ophandler.common.LSDPoolConnection.checkNbInPool (  ) 

Returns the number of active sessions in the pool

Returns:
the number of active sessions

void openlsd.multiple.ophandler.common.LSDPoolConnection.closeAll (  ) 

Close all connections

void openlsd.multiple.ophandler.common.LSDPoolConnection.close ( LSDClientCommon  client  )  [virtual]

void openlsd.multiple.ophandler.common.LSDPoolConnection.remove ( LSDClientCommon  client  )  [virtual]


Member Data Documentation

The IpPort of the remote OpenLSD Server

The list of pooled connections in Delete mode

The list of pooled connections in Import mode

The list of pooled connections in Info mode

The list of pooled connections in Get mode

The list of pooled connections in Move mode

Number of Web Get Client in Pool

Rank for Delete mode

Rank for Put mode

Rank for Info mode

Rank for Get mode

Rank for Move mode


The documentation for this class was generated from the following file: