The TcpMessaging:onTimeout Method

The TcpMessaging:onTimeout method returns the number of timeout intervals that have elapsed because of the arrival of the previous message or because of the start of the subscription to this method.

Type

Asynchronous, IMPACT_INFO.

Arguments

Name Type Description
Topic String The message topic
Timeout Interval Long Timeout interval in seconds

Returns

Name Type Description
Timeout Interval Count Integer The count of consecutive timeout intervals that have passed.

The return value is reset to 0 (zero) when a message is received with the specified subject or topic.