00001 /** 00002 * @file Platform/Aperios1.3.2/NetHandler.h 00003 * 00004 * Class NetHandler : base-class for TCPHandler and UDPHandler 00005 * 00006 * @author <A href=mailto:robocup@m-wachter.de>Michael Wachter</A> 00007 */ 00008 00009 #ifndef _NetHandler_H_ 00010 #define _NetHandler_H_ 00011 00012 #include <stdio.h> 00013 #include <iostream.h> 00014 00015 /** 00016 * base-class for TCPHandler and UDPHandler 00017 */ 00018 class NetHandler 00019 { 00020 public: 00021 virtual void sendPackage(int senderNumber,void* data,int size){}; /**< has to be overwritten by the Handler */ 00022 }; 00023 00024 #endif 00025 00026 /* 00027 * 00028 * Changelog : 00029 * 00030 * $Log: NetHandler.h,v $ 00031 * Revision 1.2 2004/09/12 20:10:47 wachter 00032 * Documentation-fixes 00033 * 00034 * Revision 1.1.1.1 2004/05/22 17:23:26 cvsadm 00035 * created new repository GT2004_WM 00036 * 00037 * Revision 1.4 2004/01/20 14:21:41 wachter 00038 * - Added sender-number to NetSender 00039 * - worked on with Team-Communication 00040 * 00041 * Revision 1.3 2004/01/06 10:01:13 wachter 00042 * Added comments 00043 * 00044 * Revision 1.2 2004/01/03 16:18:24 wachter 00045 * debug-communication mostly working now 00046 * 00047 * Revision 1.1 2003/12/21 19:27:02 wachter 00048 * Added classes for Sender/Receiver over TCP and UDP. 00049 * ( PLEASE DO NOT USE THIS NOW ! ) 00050 * 00051 * 00052 */