Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 20, 2005, 3:39:38 AM (18 years ago)
Author:
patrick
Message:

network: finished the simple_sync program

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/network/src/subprojects/network/simple_sync.h

    r5649 r5650  
     1/*!
     2 * @file simple_sync.h
     3 *  implementation of a network sync test
     4 */
     5
     6#ifndef _SIMPLE_SYNC
     7#define _SIMPLE_SYNC
     8
     9#include "synchronizeable.h"
     10
     11
     12class SimpleSync : public Synchronizeable
     13{
     14  public:
     15    SimpleSync();
     16    ~SimpleSync();
     17 
     18    virtual void writeBytes(byte* data, int length);
     19    virtual int readBytes(byte* data);
     20   
     21  private:
     22    virtual void writeDebug();
     23    virtual void readDebug();
     24
     25   
     26  private:
     27    byte* inData;
     28    int   inLength;
     29    byte* outData;
     30    int   outLength;
     31};
     32
     33#endif /* _SIMPLE_SYNC */
     34
Note: See TracChangeset for help on using the changeset viewer.