satellite-geo-user-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_USER_LLC_H_
22 #define SATELLITE_GEO_USER_LLC_H_
23 
24 #include "satellite-geo-llc.h"
25 
26 namespace ns3
27 {
28 
35 class SatGeoUserLlc : public SatGeoLlc
36 {
37  public:
41  static TypeId GetTypeId(void);
42 
46  SatGeoUserLlc();
47 
53  SatGeoUserLlc(SatEnums::RegenerationMode_t forwardLinkRegenerationMode,
54  SatEnums::RegenerationMode_t returnLinkRegenerationMode);
55 
61  virtual ~SatGeoUserLlc();
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_USER_LLC_H_ */
RegenerationMode_t
The regeneration mode used in satellites.
SatGeoLlc holds the GEO implementation of LLC layer.
SatGeoUserLlc holds the GEO user implementation of LLC layer.
virtual void DoDispose()
Dispose of this class instance.
virtual void CreateEncap(Ptr< EncapKey > key)
Virtual method to create a new encapsulator 'on-a-need-basis' dynamically.
SatGeoUserLlc()
Construct a SatGeoUserLlc, should not be used.
virtual void CreateDecap(Ptr< EncapKey > key)
Virtual method to create a new decapsulator 'on-a-need-basis' dynamically.
static TypeId GetTypeId(void)
Derived from Object.
virtual ~SatGeoUserLlc()
Destroy a SatGeoUserLlc.
SatArqSequenceNumber is handling the sequence numbers for the ARQ process.