Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members

SendWithoutCoCo.hpp

00001 #ifndef SEND_WITHOUT_COCO
00002 #define SEND_WITHOUT_COCO
00003 
00004 #include <vector>
00005 #include "boost/shared_ptr.hpp"
00006 #include "ace/Task.h"
00007 
00008 namespace ztt{
00009   namespace dcs{
00010 
00011     // Forward decl. 
00012     class FeePacket;
00013 
00018     class SendWithoutCoCo : public ACE_Task_Base
00019     {
00020     public:
00022       SendWithoutCoCo(void){};
00027       SendWithoutCoCo(const SendWithoutCoCo& send){
00028                 packet = send.packet;
00029       };
00035       SendWithoutCoCo& operator=(const SendWithoutCoCo& send){
00036                 if (this != &send){
00037                         packet = send.packet;
00038                 }
00039                 return *this;
00040       }
00044       ~SendWithoutCoCo(void);
00048       virtual int svc(void);
00052       void setFeePacket(const boost::shared_ptr<FeePacket>payload){
00053                 packet = payload;
00054       }
00055 
00056     private:
00057       /* Server names */
00058       // std::vector<char*>servernames;
00060       boost::shared_ptr<FeePacket> packet;
00061     };
00062 
00063   }}
00064 //end namespace
00065 #endif

Generated on Fri Mar 30 02:54:34 2007 for InterComLayer by doxygen 1.3.5