User Manual, Developers Guide and API Documentation

WaitingForACKsBufferFull.hpp

Go to the documentation of this file.
00001 /******************************************************************************
00002  * WNS (Wireless Network Simulator)                                           *
00003  * __________________________________________________________________________ *
00004  *                                                                            *
00005  * Copyright (C) 2004-2006                                                    *
00006  * Chair of Communication Networks (ComNets)                                  *
00007  * Kopernikusstr. 16, D-52074 Aachen, Germany                                 *
00008  * phone: ++49-241-80-27910 (phone), fax: ++49-241-80-22242                   *
00009  * email: wns@comnets.rwth-aachen.de                                          *
00010  * www: http://wns.comnets.rwth-aachen.de                                     *
00011  ******************************************************************************/
00012 
00013 #ifndef GLUE_ARQFSM_SELECTIVEREPEAT_WAITINGFORACKSBUFFERFULL_HPP
00014 #define GLUE_ARQFSM_SELECTIVEREPEAT_WAITINGFORACKSBUFFERFULL_HPP
00015 
00016 #include <GLUE/arqfsm/selectiverepeat/BaseState.hpp>
00017 
00018 namespace glue { namespace arqfsm { namespace selectiverepeat {
00019 
00020     class WaitingForACKsBufferFull :
00021         public BaseState
00022     {
00023     public :
00024         WaitingForACKsBufferFull(FSMFU::BaseFSM* t) :
00025             BaseState(t, "glue_arqfsm_selectiverepeat_WaitingForACKsBufferFull")
00026         {} // WaitingForACKsBufferFull
00027 
00028         virtual void
00029         onInitState()
00030         {} // onInitState
00031 
00032     private:
00033         virtual StateInterface*
00034         onSendData(const wns::ldk::CompoundPtr& compound);
00035 
00036         virtual StateInterface*
00037         onACK(int sequenceNumber);
00038 
00039         virtual StateInterface*
00040         onWakeup();
00041 
00042         virtual void
00043         onIsAccepting(bool& accepting) const;
00044 
00045         virtual StateInterface*
00046         onTimeout(const wns::ldk::CompoundPtr& compoundBox);
00047     };
00048 
00049 } // selectiverepeat
00050 } // arqfsm
00051 } // glue
00052 
00053 #endif // GLUE_ARQFSM_SELECTIVEREPEAT_WAITINGFORACKSBUFFERFULL_HPP
00054 
00055 

Generated on Sat May 26 03:31:56 2012 for openWNS by  doxygen 1.5.5