IPCLinkEndpoint::DoRequest (open)
Sends a message and waits for the reply. Throws if a reply to another messages comes in.
Syntax
LOADLIB "wh::internal/jobs.whlib";
RECORD FUNCTION DoRequest(RECORD message)Parameters
RECORD messageMessage to send
Return value
RECORDResult of the action
RECORD msgThe received message (only when status = 'ok')
INTEGER64 msgidId of the reply (only when status = 'ok')
INTEGER64 replytoId of the orginal message (only when status = 'ok')
STRING statusOne of the following codes: 'ok': message received successfully 'timeout': no message was received before 'gone': other endpoint of the link has been closed