VortexChannelPool * vortex_connection_get_channel_pool ( VortexConnection connection,
int  pool_id 
)

Returns the channel pool identified by pool_id.

If the connection has only one channel pool created, you can access to it using pool_id = 1.

Parameters
connectionthe connection where the channel pool is found.
pool_idThe channel pool id to look up. Remember that the first pool is always have the pool id 1.
Returns
the channel pool or NULL if fails.

References vortex_hash_lookup().

Referenced by vortex_xml_rpc_channel_pool_get_next().