//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU Lesser General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with this program.  If not, see http://www.gnu.org/licenses/.
//

#ifndef DIRECTRANSMISSION_H_
#define DIRECTRANSMISSION_H_

#include <BaseNetwLayer.h>
#include <NetwControlInfo.h>
#include <MacControlInfo.h>
#include "ExtendedAddress.h"

class DirectTransmission: public BaseNetwLayer {
private:
	int droppedMsgs;


public:

    /** @brief Record some values */
    virtual void finish();

protected:
    //handleHostState does nothing
    void handleHostState(const HostState& state) {}

    /** @brief Handle control messages from lower layer */
    virtual void handleLowerControl(cMessage* msg);

    /** @brief Encapsulate higher layer packet into an NetwPkt*/
    virtual NetwPkt* encapsMsg(cPacket*);
};

#endif /* DIRECTRANSMISSION_H_ */

