Patent ID: 7689794

Claim:
A method comprising the steps of: receiving a request event from a first component, wherein the request event is received via a mechanism other than a function call from the first component, the request event associated with a request event parameter buffer, wherein the request event comprises at least one event associated with a video-on-demand service, the at least one event comprising at least one of new session request data and stream play request data associated with providing the video-on-demand service; receiving a response event from a second component, wherein the response event is received via a mechanism other than a function call from the second component, the response event associated with the received request event; allocating a response event parameter buffer from a first pool, wherein the response event parameter buffer is associated with the response; obtaining, upon failure of the allocation of the response event parameter buffer an out-of-memory indication buffer used to indicate that no memory was allocated for the response event; associating the out-of-memory indication buffer with the response event; and completing, upon obtaining the out-of-memory indication buffer and associating the out-of-memory indication buffer with the response event, the request event using the response event and the associated out-of memory buffer to indicate no memory was allocated for the response event, wherein completing the request event comprises sending the response event and the associated out-of-memory buffer to the first component to complete the request event, wherein the request event parameter buffer associated with the response is re-used when sending the response event to the first component.