PCMNetClient.h
Go to the documentation of this file.00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 
00022 
00023 
00024 
00027 
00028 #ifndef __PCM_NETCLIENT_H__
00029 #  define __PCM_NETCLIENT_H__
00030 
00031 
00032 
00033 
00034 
00035 #  include "PCMPremeditations.h"
00036 
00037 #  include "PCMClient.h"
00038 
00039 namespace ParCompMark
00040 {
00041 
00046   class NetClient:public Client
00047   {
00048 
00049         
00050         
00051         
00052 #  ifdef PARCOMPMARK_TEST
00053         friend class ParCompMarkTest::TestNetClient;
00054 #  endif
00055 
00056         
00057         
00058         
00059 
00060    public:
00061 
00063         typedef ParCompMark::Pointer < NetClient,
00064         DummyLock > Pointer;
00065 
00066         
00067         
00068         
00069 
00071 
00072 
00073    public:
00074 
00079         NetClient(const std::string & name);
00080 
00084         virtual ~ NetClient();
00085 
00087 
00088         
00089         
00090         
00091 
00093 
00094 
00095    public:
00096 
00100         virtual void initialize();
00101 
00105         virtual void finalize();
00106 
00107    protected:
00108 
00112         virtual void task();
00113 
00115 
00116   };
00117 
00118 }
00119 
00120 #endif