/users/dtb26/GITROOT/VetSim-Core/src/examples/timed_latency_receiver.h File Reference

Timed latency receiver application component. More...

#include "timed_latency.h"
#include <execution.h>

Go to the source code of this file.

Functions

void timed_latency_receiver_init (Config *config)


Detailed Description

Timed latency receiver application component.

Receives messages on LATENCY_CHANNELS__DATA, and sends them back immediately on LATENCY_CHANNELS__RESPONSE, unchanged.

When initialized, will assign itself a unique identifier and issue a join request message LATENCY_CMD__JOIN_REQUEST. periodically until it is answered, containing its id as a parameter. The response to a join request will give the listener an address relative to a specific timed latency run, which it will use to identify itself in further communication. This response must contain a parameter LATENCY_CMD_PARAM__JOIN_REQUEST_ID matching the unique id from the join request. The receiver will adopt the address contained within LATENCY_CMD_FIELD__ADDRESS of this message.

Definition in file timed_latency_receiver.h.


Generated on Thu Sep 27 11:11:48 2012 for VetSim by  doxygen 1.4.7