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