00001 /*************************************************************************** 00002 ecriture.h - description 00003 ------------------- 00004 begin : mer mar 22 2006 00005 copyright : (C) 2006 by 00006 - Sylvain Archenault <sylvain.archenault@laposte.net> 00007 - Yves Houpert <yves.houpert@insa-rouen.fr> 00008 ***************************************************************************/ 00009 00010 /*************************************************************************** 00011 * * 00012 * This program is free software; you can redistribute it and/or modify * 00013 * it under the terms of the GNU General Public License as published by * 00014 * the Free Software Foundation; either version 2 of the License, or * 00015 * (at your option) any later version. * 00016 * * 00017 ***************************************************************************/ 00018 00019 #ifndef ECRITURE_H 00020 #define ECRITURE_H 00021 00022 #include "socket.h" 00023 class BaseMessage; 00024 00030 class Ecriture{ 00031 public: 00033 Ecriture(Socket* socket); 00034 00036 ~Ecriture(); 00037 00041 Ecriture& operator<<(const BaseMessage& aMessage); 00042 00043 protected: 00045 Socket* m_pSocket; 00046 }; 00047 00048 #endif
1.4.6