IPCLinkEndpoint::ReceiveMessage (open)
Receives a message from the other endpoint
Syntax
LOADLIB "wh::internal/jobs.whlib";
RECORD FUNCTION ReceiveMessage(DATETIME wait_until)Parameters
DATETIME wait_untilBlock until this time, DEFAULT DATETIME for immediate return.
Return value
RECORDResult of the action
RECORD msgThe received message (only when status = 'ok')
INTEGER64 msgidId of the message (only when status = 'ok')
INTEGER64 replytoId message this item is a reply to (0 if not a reply)
statusOne of the following codes: 'ok': message received successfully 'timeout': no message was present 'gone': other endpoint of the link has been closed