10 #ifndef TransportLayer_H 11 #define TransportLayer_H 48 virtual void retry() = 0;
TransportLayer()
Constructor.
virtual void rx(Packet *aPacket)=0
Callback when a complete packet is assembled by the LinkLayer.
virtual void removeAppLayer(ApplicationLayer *aAppLayer)
Remove an app layer object from the callback list.
std::list< ApplicationLayer * > AppLayerList
A list of app layers that are connected to this link layer.
virtual void addAppLayer(ApplicationLayer *aAppLayer)
Add an app layer object to the callback list.
virtual ~TransportLayer()
Destructor.
Abstract base class for transport layer in the OSI model.
Abstract base class for a packet of data.
virtual void tx(Packet *aPacket, bool aSendNow)=0
Transmit a packet.
AppLayerList mAppLayers
The application layer objects that send/receive using this GarminTransportLayer.
virtual void retry()=0
Retry the last transmit.
Abstract base class for the application layer in the OSI model.