00001 /* 00002 cabal_recpt.h 00003 Reception class; abstract receive packet callback. 00004 00005 $Id: cabal_recpt.h,v 1.4 2004/03/26 12:03:02 jonnymind Exp $ 00006 --------------------------------------------- 00007 Begin : 2003-12-27 06:15 00008 Author : Giancarlo Niccolai 00009 00010 Last modified because: 00011 00012 */ 00013 00014 #ifndef CABAL_RECPT_H 00015 #define CABAL_RECPT_H 00016 00017 namespace Cabal { 00018 00023 class Socket; 00024 00025 class Reception 00026 { 00027 00028 public: 00029 00035 virtual void init( Socket *owner ) =0; 00036 00055 virtual bool receive( Socket *skt ) = 0; 00056 00061 virtual void terminate( Socket *skt )= 0; 00062 }; 00063 00064 } 00065 #endif 00066 00067 /* End of cabal_recpt.h */