UVM callbacks

In reply to shimonc:

Thank you for the complete code
I have read in some reference document

One more clarification :
If I want to drop a packet in the driver class do I need to call item done twice ?
Example : I have generated 5 packets and I need to drop 3 and 5 packet in the driver class .is it possible?
Please let me know.

Kind Regards,
Sudharshan