Home

Traffic Server Software Developers Kit

INKContSchedule

Schedules a continuation to receive an event.

Prototype

INKAction INKContSchedule (INKCont contp, unsigned int timeout)

Description

Schedules the continuation represented by contp to receive an event. The timeout refers to a time (in milliseconds) from the present to send the event. When contp is called back and if timeout is 0, then the event sent will be INK_EVENT_IMMEDIATE. If timeout is greater than 0, then the event sent will be INK_EVENT_TIMEOUT.

Returns

An INKAction object.

INK_ERROR_PTR if there is an error.