TCPGenericSrvThread.h

Go to the documentation of this file.
00001 //
00002 // Copyright 2004 Andras Varga
00003 //
00004 // This library is free software, you can redistribute it and/or modify
00005 // it under  the terms of the GNU Lesser General Public License
00006 // as published by the Free Software Foundation;
00007 // either version 2 of the License, or any later version.
00008 // The library is distributed in the hope that it will be useful,
00009 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00010 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00011 // See the GNU Lesser General Public License for more details.
00012 //
00013 
00014 #ifndef __INET_TCPGENERICSRVTHREAD_H
00015 #define __INET_TCPGENERICSRVTHREAD_H
00016 
00017 #include <omnetpp.h>
00018 #include "TCPSrvHostApp.h"
00019 
00020 
00024 class INET_API TCPGenericSrvThread : public TCPServerThreadBase
00025 {
00026   public:
00027     TCPGenericSrvThread() {}
00028 
00029     virtual void established();
00030     virtual void dataArrived(cMessage *msg, bool urgent);
00031     virtual void timerExpired(cMessage *timer);
00032 };
00033 
00034 
00035 #endif
00036 
00037