VLANs(802.1Q)forOMNet++  0.5Beta
Q_mgmt_PerVlan Class Reference

TODO - Generated class. More...

#include <Q_mgmt_PerVlan.h>

List of all members.

Protected Member Functions

virtual void initialize ()
virtual void handleMessage (cMessage *msg)
virtual void requestPacket ()
virtual bool isEmpty ()

Detailed Description

TODO - Generated class.


Member Function Documentation

void Q_mgmt_PerVlan::handleMessage ( cMessage *  msg) [protected, virtual]
{
        // TODO - Generated method body
        // Self Message
        if (msg->isSelfMessage())
        {
                EV << "Self-message " << msg << " received\n";
                return;
        }


        // Network Message
        cGate *ingate = msg->getArrivalGate();
        EV << "Frame " << msg << " arrived on port " << ingate->getName() << "...\n";

        if (ingate->getId() ==  gate( "in")->getId()){
                send(msg,"out");
        }
        else if (ingate->getId() ==  gate( "out")->getId()){
                send(msg,"in");
        }else{
                EV << "Q_mgmt_PerVlan: Message came FROM THE UnKnown DIRRECTION???? Dropping\n";
                delete msg;
        }
}
void Q_mgmt_PerVlan::initialize ( ) [protected, virtual]
{
        // TODO - Generated method body
}
bool Q_mgmt_PerVlan::isEmpty ( ) [protected, virtual]
                            {
        return false;
}
void Q_mgmt_PerVlan::requestPacket ( ) [protected, virtual]
{}

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Friends Defines