Main Page   Class Hierarchy   Data Structures   File List   Data Fields  

CenterComImp.h

00001 
00003 #ifndef __CENTER_COM_IMP_H__
00004 #define __CENTER_COM_IMP_H__
00005 
00006 #include "RefCountBuffer.h"
00007 #include "Message.h"
00008 
00013 class CenterComImp
00014 {
00015 public:
00019         CenterComImp(const AGENT &agent, const ADDRESS &center);
00023         ~CenterComImp();
00027         bool send(const ADDRESS &address, const RefCountBuffer &message);
00029         bool get_agents(AGENT_VECTOR* agents, CENTER_PARAMS* params);
00031         void unregister();
00032 
00033 private:
00034         AGENT _agent;     
00035         ADDRESS _center;  
00036 };
00037 
00038 
00039 
00040 
00041 #endif // __CENTER_COM_IMP_H__

Generated on Sun Mar 2 01:48:11 2003 for Agent by doxygen1.3-rc3