22 #ifndef CONNECTION_MANAGER_H
23 #define CONNECTION_MANAGER_H
28 #include "ns3/mac48-address.h"
39 class SubscriberStationNetDevice;
This class is used exclusively by the BS to allocate CIDs to new connections.
The same connection manager class serves both for BS and SS though some functions are exclusive to on...
std::vector< Ptr< WimaxConnection > > m_primaryConnections
primary connections
std::vector< Ptr< WimaxConnection > > m_basicConnections
basic connections
~ConnectionManager() override
void DoDispose() override
Destructor implementation.
void AllocateManagementConnections(SSRecord *ssRecord, RngRsp *rngrsp)
allocates the management connection for an ss record.
std::vector< Ptr< WimaxConnection > > m_transportConnections
transport connections
Ptr< WimaxConnection > GetConnection(Cid cid)
Ptr< WimaxConnection > CreateConnection(Cid::Type type)
create a connection of type type
std::vector< Ptr< WimaxConnection > > GetConnections(Cid::Type type) const
uint32_t GetNPackets(Cid::Type type, ServiceFlow::SchedulingType schedulingType) const
get number of packets
void SetCidFactory(CidFactory *cidFactory)
Set CID factory.
static TypeId GetTypeId()
Get the type ID.
void AddConnection(Ptr< WimaxConnection > connection, Cid::Type type)
add a connection to the list of managed connections
CidFactory * m_cidFactory
the factory
std::vector< Ptr< WimaxConnection > > m_multicastConnections
multicast connections
A base class which provides memory management and object aggregation.
Smart pointer class similar to boost::intrusive_ptr.
This class implements the ranging response message described by "IEEE Standard for Local and metropol...
This class is used by the base station to store some information related to subscriber station in the...
SchedulingType
section 11.13.11 Service flow scheduling type, page 701
a unique identifier for an interface.
Every class exported by the ns3 library is enclosed in the ns3 namespace.