/*! * @file simple_sync.h * implementation of a network sync test */ #ifndef _SIMPLE_SYNC #define _SIMPLE_SYNC #include "synchronizeable.h" class SimpleSync : public Synchronizeable { public: SimpleSync(); ~SimpleSync(); virtual void writeBytes(byte* data, int length); virtual int readBytes(byte* data); private: virtual void writeDebug(); virtual void readDebug(); private: byte* inData; int inLength; byte* outData; int outLength; }; #endif /* _SIMPLE_SYNC */