public void DiscardPackets(int TIME, Queue<RouterPacket> []outputBuffer, int bufferNumber, Event current, PriorityQueue<Event> pQ)
    {
        //remove the amount of packets specified to be removed in the 
        //CLASSCONSUMPTIONRATES section of the config file
        for(int y=0;y<current.GetSequence();y++)
        {
            try
            {
                //remove a packet from the outputBuffers chosen at random
                RouterPacket rp = (RouterPacket)outputBuffer[bufferNumber].remove();
                if(((String)cfg.GetConfig("GENERAL","Verbose")).compareToIgnoreCase("True") == 0)
                {
                    System.out.println("Time: "+TIME+"    <DISCARD> packet: "+rp.GetSequenceNumber()+"   from OutputBuffer[ "+ (bufferNumber+1) + "] = "+outputBuffer[bufferNumber].size());
                }
            }
            catch(Exception e)
            {
                //System.out.println("Time: "+TIME+"    NO packets to remove from OutputBuffer[ "+ bufferNumber + "]");

                //break;
            }
        }
        
        
    }