VortexChannel * vortex_connection_get_channel ( VortexConnection connection,
int  channel_num 
)

Returns a reference to the channel identified by channel_num on this connection (or vortex session).

Parameters
connectionthe connection to look for the channel.
channel_numthe channel_num identifier.
Returns
the VortexChannel reference or NULL if it doesn't exists.

References vortex_hash_lookup().

Referenced by vortex_channel_notify_close(), vortex_channel_notify_start(), vortex_greetings_error_send(), and vortex_greetings_send().