Lab5/FCFS.cpp
void FCFS::addEvent(Link thisNode){
	thisNode->setPropogationTime(propogationTime);
	if (DEBUG){
		cout << name << " has received packet " << thisNode->getPacketID() << endl;
	}
	transmissionQuene.bringToBack(thisNode);
}
//Adds an event to the event Transmission Quene
Adds an event to the event Transmission Quene
Adds an event to the event Transmission Quene
void FCFS::addEvent(Link thisNode){
	thisNode->setPropogationTime(propogationTime);
	if (DEBUG){
		cout << name << " has received packet " << thisNode->getPacketID() << endl;
	}
	transmissionQuene.bringToBack(thisNode);
}
void FCFS :: addEvent ( Link thisNode ) { thisNode -> setPropogationTime ( propogationTime ) ; if ( DEBUG ) { cout << name << " " << thisNode -> getPacketID ( ) << endl ; } transmissionQuene . bringToBack ( thisNode ) ; }
Adds an event to the event Transmission Quene
Adds an event to the event Transmission Quene