HP Remote Graphics Software (RGS) Manual do Utilizador Página 92

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
Vista de página 91
// We have at least one new event. Print out the last event.
dwCurrentIndex = dwNewIndex;
if (dwNewIndex)
{
if (processEvent(eventServer, eventSource, dwCurrentIndex))
{
... event processing error here ...
return;
}
}
}
else
{
// No new events. Sleep for 1 second.
Sleep(1000);
waitedFor += 1;
}
}
return;
}
main( ... )
{
... setup and initialize agent ...
monitorEvents(EVENT_SERVER, EVENT_SRC, seconds);
... cleanup agent here or send alerts ...
... may wish to return status from monitorEvents ...
}
82 Appendix B Creating an agent for remote application termination (Windows only)
Vista de página 91
1 2 ... 87 88 89 90 91 92 93 94 95 96 97

Comentários a estes Manuais

Sem comentários