Ctrl_Task Class Reference

#include <CtrlTask.h>

Inheritance diagram for Ctrl_Task:

cvm::CvmTask cvm::CvmBaseTask< Chan > ACE_Task List of all members.

Public Member Functions

Status prepare (void)
 Each app should implement the following 3 methods.
Status cleanup (void)
int work (void)
int handle_signal (int signum, siginfo_t *=0, ucontext_t *=0)
void showTestMenu ()
int fini ()

Detailed Description

Definition at line 36 of file CtrlTask.h.


Member Function Documentation

Status Ctrl_Task::cleanup void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 44 of file CtrlTask.cpp.

References cvm::CvmBaseTask< Chan >::my_port(), channel::SUCCESS, and TEST_STRING_MSG.

int Ctrl_Task::fini  )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 149 of file CtrlTask.cpp.

References cvm::CvmBaseTask< Chan >::my_name(), and cvm::CvmBaseTask< Chan >::my_port_.

int Ctrl_Task::handle_signal int  signum,
siginfo_t *  = 0,
ucontext_t *  = 0
 

Definition at line 125 of file CtrlTask.cpp.

Status Ctrl_Task::prepare void   )  [virtual]
 

Each app should implement the following 3 methods.

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 22 of file CtrlTask.cpp.

References channel::FAILURE, cvm::CvmBaseTask< Chan >::my_port(), channel::SCOPE_GLOBAL, channel::SUCCESS, and TEST_STRING_MSG.

void Ctrl_Task::showTestMenu  ) 
 

Definition at line 51 of file CtrlTask.cpp.

Referenced by work().

int Ctrl_Task::work void   )  [virtual]
 

Reimplemented from cvm::CvmBaseTask< Chan >.

Definition at line 62 of file CtrlTask.cpp.

References channel::INET_SOCK, cvm::CvmBaseTask< Chan >::my_chan(), cvm::CvmBaseTask< Chan >::my_name(), showTestMenu(), channel::ConnInfo::type(), channel::UNIX_SOCK, and channel::ConnInfo::valid().


The documentation for this class was generated from the following files:
Generated on Mon Feb 27 19:59:23 2006 for channel by  doxygen 1.4.6-NO