Configurations allowed to be set on VortexExternalSetup.

Enumerator
VORTEX_EXTERNAL_CONF_MUTEX_IO 

Allows to configure an internal mutex to ensure VortexSendHandler and VortexReceiveHandler that are configured aren't called at the same time.

By default, if this is not provided, those handlers can be called at any time even at the same time.

1 // make receive and send operation to be mutually exclusive
2 vortex_external_setup_conf (setup, VORTEX_EXTERNAL_CONF_MUTEX_IO, PTR_TO_INT (axl_true));
VORTEX_EXTERNAL_CONF_HOST 

Allows to configure the host name that should be reported by this connection.

Functions like vortex_connection_get_host will report this.

1 // make receive and send operation to be mutually exclusive
2 vortex_external_setup_conf (setup, VORTEX_EXTERNAL_CONF_HOST, (axlPointer) "host.external1.com");

NOTE: this call is entirely optional.

VORTEX_EXTERNAL_CONF_PORT 

Allows to configure the port that should be reported by this connection.

Functions like vortex_connection_get_port will report this.

1 // make receive and send operation to be mutually exclusive
2 vortex_external_setup_conf (setup, VORTEX_EXTERNAL_CONF_PORT, (axlPointer) "23455");

NOTE: this call is entirely optional.

VORTEX_EXTERNAL_ON_PREPARE_HANDLER 

Allows to configure a handler that is called just after creating the connection but before starting doing anything with it, so it is possible to implement further setup from with int.

Handler configured is VortexExternalOnPrepare

VORTEX_EXTERNAL_ON_PREPARE_USER_DATA 

Allows to configure user data pointer to be passed in into VortexExternalOnPrepare (VORTEX_EXTERNAL_ON_PREPARE_HANDLER)

VORTEX_EXTERNAL_ON_PREPARE_USER_DATA2 

Allows to configure user data2 pointer to be passed in into VortexExternalOnPrepare (VORTEX_EXTERNAL_ON_PREPARE_HANDLER)