00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef FILECX_HH_
00014 # define FILECX_HH_
00015
00016 # include "Cx.hh"
00017
00019 class FileCx : public Cx
00020 {
00021 public:
00022 FileCx() {}
00023 virtual ~FileCx() {}
00024
00025 protected:
00026 virtual bool pollInternal(int* timeout = 0);
00027 virtual int recvData(bool use_exception);
00028 virtual void sendData(unsigned char* data, unsigned size);
00029 };
00030
00031 inline bool FileCx::pollInternal(int*) { return false; }
00032 inline int FileCx::recvData(bool) { return 0; }
00033 inline void FileCx::sendData(unsigned char*, unsigned) {}
00034
00035 #endif