satellite-geo-feeder-llc.h
Go to the documentation of this file.
1 /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */
2 /*
3  * Copyright (c) 2013 Magister Solutions Ltd
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License version 2 as
7  * published by the Free Software Foundation;
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17  *
18  * Author: Bastien TAURAN <bastien.tauran@viveris.fr>
19  */
20 
21 #ifndef SATELLITE_GEO_FEEDER_LLC_H_
22 #define SATELLITE_GEO_FEEDER_LLC_H_
23 
24 #include "satellite-geo-llc.h"
25 
26 namespace ns3
27 {
28 
35 class SatGeoFeederLlc : public SatGeoLlc
36 {
37  public:
41  static TypeId GetTypeId(void);
42 
47 
53  SatGeoFeederLlc(SatEnums::RegenerationMode_t forwardLinkRegenerationMode,
54  SatEnums::RegenerationMode_t returnLinkRegenerationMode);
55 
61  virtual ~SatGeoFeederLlc();
62 
63  protected:
67  virtual void DoDispose();
68 
73  virtual void CreateEncap(Ptr<EncapKey> key);
74 
79  virtual void CreateDecap(Ptr<EncapKey> key);
80 };
81 
82 } // namespace ns3
83 
84 #endif /* SATELLITE_GEO_FEEDER_LLC_H_ */
RegenerationMode_t
The regeneration mode used in satellites.
SatGeoFeederLlc holds the GEO feeder implementation of LLC layer.
static TypeId GetTypeId(void)
Derived from Object.
virtual void CreateEncap(Ptr< EncapKey > key)
Method to create a new encapsulator 'on-a-need-basis' dynamically.
virtual ~SatGeoFeederLlc()
Destroy a SatGeoFeederLlc.
SatGeoFeederLlc()
Construct a SatGeoFeederLlc, should not be used.
virtual void DoDispose()
Dispose of this class instance.
virtual void CreateDecap(Ptr< EncapKey > key)
Virtual method to create a new decapsulator 'on-a-need-basis' dynamically.
SatGeoLlc holds the GEO implementation of LLC layer.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.