Vortex Channel Pool: Channel Pool management function.


Functions

void vortex_channel_pool_add (VortexChannelPool *pool, gint num)
 Adds more channel to channel pool already created.
void vortex_channel_pool_attach (VortexChannelPool *pool, VortexChannel *channel)
 Adds a channel reference to a channel pool.
void vortex_channel_pool_close (VortexChannelPool *pool)
 Closes a channel pool.
void vortex_channel_pool_deattach (VortexChannelPool *pool, VortexChannel *channel)
 Detach a channel reference from the channel pool.
VortexConnectionvortex_channel_pool_get_connection (VortexChannelPool *pool)
 Returns the Vortex Connection where this channel pool is created.
gint vortex_channel_pool_get_id (VortexChannelPool *pool)
 Return the channel pool unique identifier.
VortexChannelvortex_channel_pool_get_next_ready (VortexChannelPool *pool, gboolean auto_inc)
 Returns the next "ready to use" channel from the given pool.
gint vortex_channel_pool_get_num (VortexChannelPool *pool)
 Returns the number of channel this pool have.
VortexChannelPoolvortex_channel_pool_new (VortexConnection *connection, gchar *profile, gint max_num, VortexOnCloseChannel close, gpointer close_user_data, VortexOnFrameReceived received, gpointer received_user_data, VortexOnChannelPoolCreated on_channel_pool_created, gpointer user_data)
 Creates a new pool of VortexChannels.
void vortex_channel_pool_release_channel (VortexChannelPool *pool, VortexChannel *channel)
 Release a channel from the channel pool.
void vortex_channel_pool_remove (VortexChannelPool *pool, gint num)
 Removes channels from the given channel pool.