38#ifndef UWOPTICAL_ACOUSTIC_CONTROLLER_PHY_SLAVE_H
39#define UWOPTICAL_ACOUSTIC_CONTROLLER_PHY_SLAVE_H
69 virtual int command(
int,
const char*
const*);
79 virtual void recv(Packet *p,
int idSrc);
Class used to represents the UwMultiStackControllerPhySlave layer of a node.
virtual void updateSlave(Packet *p, int idSrc)
It implements the slave choice rule to choose the lower layer when the system works in AUTOMATIC_MODE...
int signaling_active_
Number of signaling packets received.
virtual ~UwMultiStackControllerPhySlave()
Destructor of UwMultiPhy class.
virtual void recv(Packet *p, int idSrc)
It manages each packet reception, either from the upper and the lower layer.
virtual int command(int, const char *const *)
TCL command interpreter.
virtual int getBestLayer(Packet *p)
If true slave is in signaling mode, otherwise not.
int recvSyncClMsg(ClMessage *m)
Cross-Layer messages synchronous interpreter.
UwMultiStackControllerPhySlave()
Constructor of UwMultiPhy class.
Definition of UwMultiStackControllerPhy class.