![]() |
User Manual, Developers Guide and API Documentation |
![]() |
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_READYFORTRANSMISSIONBUFFERPARTLYFILLED_HPP 00014 #define GLUE_ARQFSM_SELECTIVEREPEAT_READYFORTRANSMISSIONBUFFERPARTLYFILLED_HPP 00015 00016 #include <GLUE/arqfsm/selectiverepeat/BaseState.hpp> 00017 00018 namespace glue { namespace arqfsm { namespace selectiverepeat { 00019 00020 class ReadyForTransmissionBufferPartlyFilled : 00021 public BaseState 00022 { 00023 public : 00024 ReadyForTransmissionBufferPartlyFilled(FSMFU::BaseFSM* t) : 00025 BaseState(t, "glue_arqfsm_selectiverepeat_ReadyForTransmissionBufferPartlyFilled") 00026 {} // ReadyForTransmissionBufferPartlyFilled 00027 00028 private: 00029 virtual StateInterface* 00030 onSendData(const wns::ldk::CompoundPtr& compound); 00031 00032 virtual StateInterface* 00033 onACK(int sequenceNumber); 00034 00035 virtual StateInterface* 00036 onWakeup(); 00037 00038 virtual void 00039 onIsAccepting(bool& accepting) const; 00040 00041 virtual StateInterface* 00042 onTimeout(const wns::ldk::CompoundPtr& compoundBox); 00043 }; 00044 00045 } // selectiverepeat 00046 } // arqfsm 00047 } // glue 00048 00049 #endif // GLUE_ARQFSM_SELECTIVEREPEAT_READYFORTRANSMISSIONBUFFERPARTLYFILLED_HPP 00050 00051
1.5.5