C_CallControl Class Reference

Inheritance diagram for C_CallControl:

C_TaskControl C_CallControlClient C_CallControlServer List of all members.

Public Types

typedef C_MultiList< C_CallContextT_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_pCallContextT_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_pCallMapget_call_map ()
virtual void start_traffic ()

Protected Types

typedef list_t< T_EventRecvT_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_GeneratorStatsm_stat
unsigned long m_call_created
unsigned long m_call_to_simulate
bool m_pause
T_TrafficType m_type
T_pCallContextm_call_ctxt_table
size_t m_call_ctxt_table_size
T_pCallContextList m_call_ctxt_mlist
T_pSuspendMap m_call_suspended
T_pCallMapm_call_map_table
int m_nb_channel
bool m_accept_new_call
T_EventRecvListm_event_list
C_ScenarioControlm_scenario_control
C_ChannelControlm_channel_control
C_GeneratorConfigm_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_pRetransContextListm_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

Detailed Description

Definition at line 60 of file C_CallControl.hpp.


The documentation for this class was generated from the following files:
Generated on Wed Mar 7 14:57:55 2007 for Seagull by  doxygen 1.4.6