int vortex_channel_get_number ( VortexChannel channel)

Returns the channel number for selected channel.

Parameters
channelthe channel to get the number
Returns
the channel number or -1 if fail

Referenced by vortex_channel_pool_deattach(), vortex_channel_pool_get_next_ready_full(), vortex_channel_pool_release_channel(), vortex_connection_add_channel_common(), vortex_connection_remove_channel_common(), and vortex_xml_rpc_notify_reply().