Garmin Fleet Management Controller  2.19.0
TransportLayer.cpp
Go to the documentation of this file.
1 /*********************************************************************
2 *
3 * MODULE NAME:
4 * TransportLayer.cpp
5 *
6 * Copyright 2009 by Garmin Ltd. or its subsidiaries.
7 *---------------------------------------------------------------------
8 * $NoKeywords$
9 *********************************************************************/
10 
11 #include "TransportLayer.h"
12 
13 //----------------------------------------------------------------------
15 //----------------------------------------------------------------------
17 {
18 }
19 
20 //----------------------------------------------------------------------
22 //----------------------------------------------------------------------
24 {
25 }
26 
27 //----------------------------------------------------------------------
30 //----------------------------------------------------------------------
32  (
33  ApplicationLayer * app
34  )
35 {
36  mAppLayers.push_back( app );
37 }
38 
39 //----------------------------------------------------------------------
43 //----------------------------------------------------------------------
45  (
46  ApplicationLayer * app
47  )
48 {
49  mAppLayers.remove( app );
50 }
TransportLayer()
Constructor.
virtual void removeAppLayer(ApplicationLayer *aAppLayer)
Remove an app layer object from the callback list.
virtual void addAppLayer(ApplicationLayer *aAppLayer)
Add an app layer object to the callback list.
virtual ~TransportLayer()
Destructor.
AppLayerList mAppLayers
The application layer objects that send/receive using this GarminTransportLayer.
Abstract base class for the application layer in the OSI model.