Biegaj
unread,Nov 25, 2009, 11:27:40 PM11/25/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to omnetpp
Hi everyone.
I make my student project using INET and ReaSE. I tried modify
ThruputMeter gates to become vectors gates. I need to connect more
than two channels to ThruputMeter. Gates "in" and "out" stay input/
output. Next I modify handleMessege:
void ThruputMeter::handleMessage(cMessage *msg, int gateIndex)
{
updateStats(simTime(), PK(msg)->getBitLength());
send(msg,"out", gateIndex);
}
and when PPPFrame reach ThruputMeter i get error: "Redefine
handleMessage() or specify non-zero stack size to use activity()".
Thats happens wthe i set out to inout gate.
Please someone help me. I'm newbie in OMNET and still learning easy
thing for you guys.
Regards
Biegajło Rafał