- Timestamp:
- Nov 11, 2005, 5:01:29 PM (19 years ago)
- Location:
- branches/network/src/lib/network
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/network/src/lib/network/connection_monitor.cc
r5529 r5547 13 13 co-programmer: ... 14 14 15 #include "connection_monitor.h" 15 16 16 17 ConnectionMonitor::ConnectionMonitor() … … 21 22 22 23 23 ConnectionMonitor:: ConnectionMonitor()24 ConnectionMonitor::~ConnectionMonitor() 24 25 { 25 26 -
branches/network/src/lib/network/connection_monitor.h
r5529 r5547 3 3 \brief provides information about the quality of a connection. 4 4 5 5 6 6 7 7 class ConnectionMonitor 8 8 { 9 9 public: 10 ConnectionMonitor();11 ~ConnectionMonitor();12 10 ConnectionMonitor(); 11 ~ConnectionMonitor(); 12 NetworkStream& networkStream; 13 13 14 14 private: 15 15 16 NetworkStream& networkStream; 17 16 18 }; 17 19 */ -
branches/network/src/lib/network/synchronizeable.cc
r5529 r5547 9 9 any later version. 10 10 11 11 12 ### File Specific: 12 13 main-programmer: Silvan Nellen 13 14 co-programmer: ... 15 */ 14 16 17 #include "synchronizeable.h" 18 #include "netdefs.h" 15 19 16 20 /** 21 \brief default destructor deletes all unneded stuff 22 */ 17 23 Synchronizeable::Synchronizeable() 18 24 { … … 21 27 } 22 28 23 24 Synchronizeable::Synchronizeable() 29 /** 30 \brief default destructor deletes all unneded stuff 31 */ 32 Synchronizeable::~Synchronizeable() 25 33 { 26 34 … … 29 37 30 38 } 31 */ 39 40 /** 41 \brief write data to NetworkStream 42 */ 43 virtual byte[] Synchronizeable::writeByteStream() 44 { 45 46 47 48 } 49 50 51 /** 52 \brief read Data from NetworkStream 53 */ 54 virtual void Synchronizeable::readByteStream(byte[] data) 55 { 56 57 58 59 60 } 61 62 virtual void Synchronizeable::writeDebug() 63 { 64 65 } 66 67 virtual void Synchronizeable::readDebug() 68 { 69 70 71 72 73 } -
branches/network/src/lib/network/synchronizeable.h
r5529 r5547 2 2 * @file connection_monitor.h 3 3 \brief provides information about the quality of a connection. 4 */ 4 5 5 6 #ifndef _SYNCHRONIZEABLE_H 7 #define _SYNCHRONIZEABLE_H 6 8 7 class Synchronizeable 9 #include <class_list.h> 10 #include "netdefs.h" 11 12 13 class Synchronizeable: public ClassList 8 14 { 9 15 public: 10 Synchronizeable(); 11 ~Synchronizeable(); 16 17 Synchronizeable(); 18 ~Synchronizeable(); 19 20 virtual byte[] writeByteStream(); 21 virtual void readByteStream(byte[] data); 22 virtual void writeDebug(); 23 virtual void readDebug(); 12 24 13 25 14 26 private: 15 27 28 int uniqueID; 29 16 30 }; 17 31 18 */ 32 #endif /* _SYNCHRONIZEABLE_H
Note: See TracChangeset
for help on using the changeset viewer.