Skip to content

CALL_ASYNC_TM

Jurek Muszyński edited this page May 24, 2019 · 8 revisions

void CALL_ASYNC_TM(const char *service, int timeout)

Description

Calls service defined in silgy_svc.cpp with non-default timeout. timeout is in seconds.

Timeout refers to the maximum time the engine will be waiting for a response, and not to the ASYNC_CALL itself, as it places request in the message queue opened in non-blocking mode and returns immediately.

How Silgy ASYNC works

Returns

None

Example

CALL_ASYNC_TM("getCustomer", 120);

Notes

Requires ASYNC compilation switch.

Clone this wiki locally