Esempio n. 1
0
ReceiverList* ReceiverList::lookup(const std::string& processName, const std::string& receiverName)
{
  for(ReceiverList* p = getFirst(); p; p = p->getNext())
    if(processName + "." + p->name == receiverName)
      return p;
  return 0;
}
Esempio n. 2
0
ReceiverList* ReceiverList::lookup(const char* processName,const char* receiverName)
{
  for(ReceiverList* p = getFirst(); p; p = p->getNext())
  {
    char buf[80];
    ASSERT(strlen(processName) + strlen(p->name) + 1 < sizeof(buf));
    strcpy(buf,processName),
    strcat(buf,".");
    strcat(buf,p->name);
    if(!strcmp(buf,receiverName))
      return p;
  }
  return 0;
}
Esempio n. 3
0
void ReceiverList::checkAllForPackages()
{
  for(ReceiverList* p = getFirst(); p; p = p->getNext())
    p->checkForPackage();
}
Esempio n. 4
0
void ReceiverList::finishFrame()
{
  for(ReceiverList* p = getFirst(); p; p = p->getNext())
    process->setBlockingId(p->eventId,p->blocking);
}