Skip to content

TIPCServerMsgQueue.Pop

Remove the oldest message from the queue.

Declaration

Source position: simpleipc.pp line 89

public 
function TIPCServerMsgQueue.Pop : TIPCServerMsg;

Description

Pop removes the oldest message from the queue if there is one, and returns it. If none exists, Nil is returned. The caller is responsible for freeing the message instance.

Errors

None.

See also

Name Description
TIPCServerMsgQueue.Push Add a new message to the queue.