| 
    UniMRCP
    1.7.0
    
   | 
 
MRCPv2 Server Connection. More...

Go to the source code of this file.
MRCPv2 Server Connection.
| APT_BEGIN_EXTERN_C mrcp_connection_agent_t* mrcp_server_connection_agent_create | ( | const char * | id, | 
| const char * | listen_ip, | ||
| apr_port_t | listen_port, | ||
| apr_size_t | max_connection_count, | ||
| apt_bool_t | force_new_connection, | ||
| apr_pool_t * | pool | ||
| ) | 
Create connection agent.
| id | the identifier of the engine | 
| listen_ip | the IP address to listen on | 
| listen_port | the port to listen on | 
| max_connection_count | the number of max MRCPv2 connections | 
| force_new_connection | the policy used in o/a for connection establishment | 
| pool | the pool to allocate memory from | 
| apt_bool_t mrcp_server_connection_agent_destroy | ( | mrcp_connection_agent_t * | agent | ) | 
Destroy connection agent.
| agent | the agent to destroy | 
| void mrcp_server_connection_agent_handler_set | ( | mrcp_connection_agent_t * | agent, | 
| void * | obj, | ||
| const mrcp_connection_event_vtable_t * | vtable | ||
| ) | 
Set connection event handler.
| agent | the agent to set event hadler for | 
| obj | the external object to associate with the agent | 
| vtable | the event handler virtual methods | 
| const char* mrcp_server_connection_agent_id_get | ( | const mrcp_connection_agent_t * | agent | ) | 
Get string identifier.
| agent | the agent to get identifier of | 
| void* mrcp_server_connection_agent_object_get | ( | const mrcp_connection_agent_t * | agent | ) | 
Get external object.
| agent | the agent to get object from | 
| apt_bool_t mrcp_server_connection_agent_start | ( | mrcp_connection_agent_t * | agent | ) | 
Start connection agent and wait for incoming requests.
| agent | the agent to start | 
| apt_task_t* mrcp_server_connection_agent_task_get | ( | const mrcp_connection_agent_t * | agent | ) | 
Get task.
| agent | the agent to get task from | 
| apt_bool_t mrcp_server_connection_agent_terminate | ( | mrcp_connection_agent_t * | agent | ) | 
Terminate connection agent.
| agent | the agent to terminate | 
| void mrcp_server_connection_max_shared_use_set | ( | mrcp_connection_agent_t * | agent, | 
| apr_size_t | max_shared_use_count | ||
| ) | 
Set max shared use count for an MRCPv2 connection.
| agent | the agent to set the parameter for | 
| max_shared_use_count | the number of max shared use count of an MRCPv2 connection | 
| void mrcp_server_connection_resource_factory_set | ( | mrcp_connection_agent_t * | agent, | 
| const mrcp_resource_factory_t * | resource_factory | ||
| ) | 
Set MRCP resource factory.
| agent | the agent to set resource factory for | 
| resource_factory | the MRCP resource factory to set | 
| void mrcp_server_connection_rx_size_set | ( | mrcp_connection_agent_t * | agent, | 
| apr_size_t | size | ||
| ) | 
Set rx buffer size.
| agent | the agent to set buffer size for | 
| size | the size of rx buffer to set | 
| void mrcp_server_connection_term_timeout_set | ( | mrcp_connection_agent_t * | agent, | 
| apr_size_t | timeout | ||
| ) | 
Set termination timeout for an MRCPv2 connection.
| agent | the agent to set the parameter for | 
| timeout | the termination timeout to set in seconds | 
| void mrcp_server_connection_timeout_set | ( | mrcp_connection_agent_t * | agent, | 
| apr_size_t | timeout | ||
| ) | 
Set inactivity timeout for an MRCPv2 connection.
| agent | the agent to set the parameter for | 
| timeout | the inactivity timeout to set in seconds | 
| void mrcp_server_connection_tx_size_set | ( | mrcp_connection_agent_t * | agent, | 
| apr_size_t | size | ||
| ) | 
Set tx buffer size.
| agent | the agent to set buffer size for | 
| size | the size of the rx buffer to set | 
| apt_bool_t mrcp_server_control_channel_add | ( | mrcp_control_channel_t * | channel, | 
| mrcp_control_descriptor_t * | descriptor | ||
| ) | 
Add MRCPv2 control channel.
| channel | the control channel to add | 
| descriptor | the control descriptor | 
| mrcp_control_channel_t* mrcp_server_control_channel_create | ( | mrcp_connection_agent_t * | agent, | 
| void * | obj, | ||
| apr_pool_t * | pool | ||
| ) | 
Create control channel.
| agent | the agent to create channel for | 
| obj | the external object to associate with the control channel | 
| pool | the pool to allocate memory from | 
| apt_bool_t mrcp_server_control_channel_destroy | ( | mrcp_control_channel_t * | channel | ) | 
Destroy MRCPv2 control channel.
| channel | the control channel to destroy | 
| apt_bool_t mrcp_server_control_channel_modify | ( | mrcp_control_channel_t * | channel, | 
| mrcp_control_descriptor_t * | descriptor | ||
| ) | 
Modify MRCPv2 control channel.
| channel | the control channel to modify | 
| descriptor | the control descriptor | 
| apt_bool_t mrcp_server_control_channel_remove | ( | mrcp_control_channel_t * | channel | ) | 
Remove MRCPv2 control channel.
| channel | the control channel to remove | 
| apt_bool_t mrcp_server_control_message_send | ( | mrcp_control_channel_t * | channel, | 
| mrcp_message_t * | message | ||
| ) | 
Send MRCPv2 message.
| channel | the control channel to send message through | 
| message | the message to send | 
 1.8.13