MESSAGE_DATE

System Testing Test Script Language.

Syntax

MESSAGE_DATE

Description

The MESSAGE_DATE instruction marks the date the user receives the message.

For instance, this date may be the moment a message is present in a reception queue or when a message has been read and decoded. This instruction must appear once in a callback or in a procedure called in a callback.

The MESSAGE_DATE instruction must be used in a callback.

Examples

COMMTYPE socket IS socket_id_t

CHANNEL socket: ch

MESSAGE client_info_t: msg

CALLBACK client_info_t: info ON socket: id

CALL read(id, &info, sizeof(client_info_t))@@ret

IF (ret == 0) THEN

NO_MESSAGE

END IF

MESSAGE_DATE

END CALLBACK

Related Topics

CALLBACK