00001 #include "Headers.h"
00002 #include "EventLinkQueue.h"
00003
00004 CEventLinkQueue::CEventLinkQueue(
00005 CLink* link,
00006 __uint32 entry,
00007 CPacket* packet
00008 )
00009 {
00010 assert(link);
00011 assert(packet);
00012
00013 this->link = link;
00014 this->entry = entry;
00015 this->packet = packet;
00016 }
00017
00018 void CEventLinkQueue::Process()
00019 {
00020 this->link->Delay(this->entry, this->packet);
00021 }
00022
00023 void CEventLinkQueue::Clean()
00024 {
00025 this->packet->Delete();
00026 delete packet;
00027 }