19 : mPhysicalLayer( NULL )
20 , mTransportLayer( NULL )
Abstract base class for the physical layer.
LinkLayer()
Construct a LinkLayer.
PhysicalLayer * mPhysicalLayer
The serial port that this link layer communicates with.
void setTransportLayer(TransportLayer *aTransport)
Set the transport layer.
Abstract base class for transport layer in the OSI model.
virtual void setLinkLayer(LinkLayer *aLinkLayer)
Change the link layer that receives bytes from this SerialPort.
TransportLayer * mTransportLayer
The transport layer that this link layer communicates with.
void setPhysicalLayer(PhysicalLayer *aPort)
Set the physical layer.
virtual ~LinkLayer()
Destructor.