Last change
on this file since 5724 was
5650,
checked in by patrick, 19 years ago
|
network: finished the simple_sync program
|
File size:
602 bytes
|
Line | |
---|
1 | /*! |
---|
2 | * @file connection_monitor.h |
---|
3 | \brief interface for all classes that have to be synchronized |
---|
4 | */ |
---|
5 | |
---|
6 | #ifndef _SYNCHRONIZEABLE_H |
---|
7 | #define _SYNCHRONIZEABLE_H |
---|
8 | |
---|
9 | #include <base_object.h> |
---|
10 | #include "netdefs.h" |
---|
11 | |
---|
12 | class Synchronizeable : virtual public BaseObject |
---|
13 | { |
---|
14 | public: |
---|
15 | |
---|
16 | Synchronizeable(); |
---|
17 | ~Synchronizeable(); |
---|
18 | |
---|
19 | virtual void writeBytes(byte* data, int length); |
---|
20 | virtual int readBytes(byte* data); |
---|
21 | virtual void writeDebug(); |
---|
22 | virtual void readDebug(); |
---|
23 | |
---|
24 | |
---|
25 | private: |
---|
26 | |
---|
27 | int uniqueID; |
---|
28 | |
---|
29 | }; |
---|
30 | |
---|
31 | #endif /* _SYNCHRONIZEABLE_H */ |
---|
Note: See
TracBrowser
for help on using the repository browser.