|
Public Types |
typedef C_MultiList< C_CallContext > | T_CallContextList |
typedef C_MultiList< C_CallContext > * | T_pCallContextList |
typedef map_t< T_ValueData,
T_pCallContext > | T_CallMap |
typedef map_t< T_ValueData,
T_pCallContext > * | T_pCallMap |
typedef map_t< int, T_pCallContext > | T_SuspendMap |
typedef map_t< int, T_pCallContext > * | T_pSuspendMap |
Public Member Functions |
| C_CallControl (C_GeneratorConfig *P_config, C_ScenarioControl *P_scenControl, C_ChannelControl *P_channel_ctrl) |
| ~C_CallControl () |
void | messageReceived (T_pReceiveMsgContext P_ctxt) |
void | eventReceived (T_pEventRecv P_event) |
virtual void | pause_traffic () |
virtual void | restart_traffic () |
void | force_init () |
virtual unsigned long | get_call_rate () |
virtual void | change_call_rate (T_GenChangeOperation P_op, unsigned long P_rate) |
virtual void | change_rate_scale (unsigned long P_scale) |
virtual void | change_burst (unsigned long P_burst) |
virtual void | clean_traffic () |
T_GeneratorError | close () |
T_pCallMap * | get_call_map () |
virtual void | start_traffic () |
Protected Types |
typedef list_t< T_EventRecv > | T_EventRecvList |
typedef list_t< T_EventRecv > * | T_pEventRecvList |
Protected Member Functions |
T_GeneratorError | TaskProcedure () |
virtual T_GeneratorError | InitProcedure () |
T_GeneratorError | EndProcedure () |
T_GeneratorError | StoppingProcedure () |
T_GeneratorError | ForcedStoppingProcedure () |
void | messageReceivedControl () |
void | messageTimeoutControl () |
void | waitControl () |
void | messageSendControl () |
void | endTrafficControl () |
void | eventControl () |
void | messageOpenTimeoutControl () |
void | stopServer () |
T_exeCode | execute_scenario_cmd (T_pCallContext P_callContext, bool P_resume=false) |
void | messageRetransControl () |
T_exeCode | execute_scenario_cmd_retrans (int P_index, T_pCallContext P_callContext) |
void | insert_retrans_list (T_pCallContext P_callContext) |
void | stopRetrans (T_pCallContext P_callContext) |
void | makeCallContextAvailable (T_pCallContext *P_pCallCxt) |
T_pCallContext | makeCallContextUnavailable (C_Scenario *P_scen) |
T_pCallContext | retrieve_call_context (int P_channel_id, T_pValueData P_id) |
void | makeCallContextSuspended (T_pCallContext P_callContext) |
virtual void | init_done () |
void | clean_mlist (long P_id) |
Protected Attributes |
T_pRcvMsgCtxtList | m_msg_rcv_ctxt_list |
C_GeneratorStats * | m_stat |
unsigned long | m_call_created |
unsigned long | m_call_to_simulate |
bool | m_pause |
T_TrafficType | m_type |
T_pCallContext * | m_call_ctxt_table |
size_t | m_call_ctxt_table_size |
T_pCallContextList | m_call_ctxt_mlist |
T_pSuspendMap | m_call_suspended |
T_pCallMap * | m_call_map_table |
int | m_nb_channel |
bool | m_accept_new_call |
T_EventRecvList * | m_event_list |
C_ScenarioControl * | m_scenario_control |
C_ChannelControl * | m_channel_control |
C_GeneratorConfig * | m_config |
int | m_max_send_loop |
int | m_max_receive_loop |
unsigned long | m_call_timeout_ms |
unsigned long * | m_wait_values |
size_t | m_nb_wait_values |
bool | m_call_timeout_abort |
unsigned long | m_open_timeout_ms |
unsigned long | m_max_retrans |
unsigned long | m_retrans_enabled |
C_CallContext::T_pRetransContextList * | m_retrans_context_list |
unsigned long * | m_retrans_delay_values |
size_t | m_nb_retrans_delay_values |
int | m_nb_send_per_scene |
int | m_nb_recv_per_scene |