Vortex Listener: Set of functions to create BEEP Listeners (server applications that accept incoming requests)


Functions

void vortex_listener_accept_connection (VortexConnection *connection, axl_bool send_greetings)
 Common task to be done to accept a connection before greetings message is issued while working as a Listener.
const char * vortex_listener_get_default_realm ()
 Allows to get current realm configuration, used for all connections.
VortexConnectionvortex_listener_new (const char *host, const char *port, VortexListenerReady on_ready, axlPointer user_data)
 Creates a new Vortex Listener accepting incoming connections on the given host:port configuration.
VortexConnectionvortex_listener_new2 (const char *host, int port, VortexListenerReady on_ready, axlPointer user_data)
 Creates a new Vortex Listener accepting incoming connections on the given host:port configuration, receiving the port configuration as an integer value.
VortexConnectionvortex_listener_new_full (const char *host, const char *port, VortexListenerReadyFull on_ready_full, axlPointer user_data)
 Creates a new listener, allowing to get the connection that represents the listener created with the optional handler (VortexListenerReadyFull).
axl_bool vortex_listener_parse_conf_and_start (void)
 Support function for Vortex Library listeners, that reads a xml file that contains listener information and starts the listener.
void vortex_listener_set_default_realm (const char *realm)
 Allows to configure the default realm to be used at the listener side, for all connections.
void vortex_listener_set_on_connection_accepted (VortexOnAcceptedConnection on_accepted, axlPointer _data)
 Allows to configure a handler that is executed once a connection have been accepted.
void vortex_listener_shutdown (VortexConnection *listener, axl_bool also_created_conns)
 Allows to shutdown the listener provided and all connections that were created due to its function.
void vortex_listener_unlock ()
 Signals to unblock the listener blocked at the vortex_listener_wait.
void vortex_listener_wait ()
 Blocks a listener (or listeners) launched until vortex finish.