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 provided as pool_id = 1.

Parameters:
connection the connection where the channel pool is found.
pool_id the 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.