1 #ifndef _MOTECONTROLINFRASTRUCTURE_H_
2 #define _MOTECONTROLINFRASTRUCTURE_H_
4 #include "MsgPayload.h"
5 #include "MCIAddress.h"
7 namespace remote
{ namespace mcs
{
9 using namespace protocols
;
11 /** An object of this class manage mote infrastructure abstractions.
12 Any number of MoteControlInfrastructure may be created and each may manage
14 The MoteControlInfrastructure is responsible for registering hotplugged motes
15 and for routing messages through the underlying network to the motes.
17 class MoteControlInfrastructure
21 virtual ~MoteControlInfrastructure() {};
22 /** Sends a request to the mote with the specied address
23 * \param address Control infrastructure address of the mote.
24 * \param request Request to send to the mote.
26 virtual void request( MCIAddress
& address
, MsgPayload
& request
) = 0;