ns-3
ns3::SsServiceFlowManager Class Reference
Inheritance diagram for ns3::SsServiceFlowManager:
Collaboration diagram for ns3::SsServiceFlowManager:

List of all members.

Public Types

enum  ConfirmationCode { CONFIRMATION_CODE_SUCCESS, CONFIRMATION_CODE_REJECT }
- Public Types inherited from ns3::ServiceFlowManager

Public Member Functions

 SsServiceFlowManager (Ptr< SubscriberStationNetDevice > device)
 creates a service flow manager and attaches it to a device
void DoDispose (void)
void AddServiceFlow (ServiceFlow *serviceFlow)
 add a service flow to the list
void AddServiceFlow (ServiceFlow serviceFlow)
 add a service flow to the list
void SetMaxDsaReqRetries (uint8_t maxDsaReqRetries)
 sets the maximum retries on DSA request message
uint8_t GetMaxDsaReqRetries (void) const
EventId GetDsaRspTimeoutEvent (void) const
EventId GetDsaAckTimeoutEvent (void) const
void InitiateServiceFlows (void)
DsaReq CreateDsaReq (const ServiceFlow *serviceFlow)
Ptr< PacketCreateDsaAck (void)
void ScheduleDsaReq (const ServiceFlow *serviceFlow)
void ProcessDsaRsp (const DsaRsp &dsaRsp)
- Public Member Functions inherited from ns3::ServiceFlowManager
ServiceFlowGetServiceFlow (uint32_t sfid) const
ServiceFlowGetServiceFlow (Cid cid) const
std::vector< ServiceFlow * > GetServiceFlows (enum ServiceFlow::SchedulingType schedulingType) const
bool AreServiceFlowsAllocated ()
bool AreServiceFlowsAllocated (std::vector< ServiceFlow * > *serviceFlows)
bool AreServiceFlowsAllocated (std::vector< ServiceFlow * > serviceFlows)
ServiceFlowGetNextServiceFlowToAllocate ()
uint32_t GetNrServiceFlows (void) const
ServiceFlowDoClassify (Ipv4Address SrcAddress, Ipv4Address DstAddress, uint16_t SrcPort, uint16_t DstPort, uint8_t Proto, ServiceFlow::Direction dir) const
- Public Member Functions inherited from ns3::Object
virtual TypeId GetInstanceTypeId (void) const
template<typename T >
Ptr< T > GetObject (void) const
template<typename T >
Ptr< T > GetObject (TypeId tid) const
void Dispose (void)
void AggregateObject (Ptr< Object > other)
AggregateIterator GetAggregateIterator (void) const
void Start (void)
- Public Member Functions inherited from ns3::SimpleRefCount< Object, ObjectBase, ObjectDeleter >
 SimpleRefCount (const SimpleRefCount &o)
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const
uint32_t GetReferenceCount (void) const
- Public Member Functions inherited from ns3::ObjectBase
void SetAttribute (std::string name, const AttributeValue &value)
bool SetAttributeFailSafe (std::string name, const AttributeValue &value)
void GetAttribute (std::string name, AttributeValue &value) const
bool GetAttributeFailSafe (std::string name, AttributeValue &attribute) const
bool TraceConnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceConnectWithoutContext (std::string name, const CallbackBase &cb)
bool TraceDisconnect (std::string name, std::string context, const CallbackBase &cb)
bool TraceDisconnectWithoutContext (std::string name, const CallbackBase &cb)

Additional Inherited Members

- Static Public Member Functions inherited from ns3::ServiceFlowManager
static TypeId GetTypeId (void)
 This method returns the TypeId associated to ns3::ServiceFlowManager.

Constructor & Destructor Documentation

ns3::SsServiceFlowManager::SsServiceFlowManager ( Ptr< SubscriberStationNetDevice device)

creates a service flow manager and attaches it to a device

Parameters:
devicethe device to which the service flow manager will be attached

Member Function Documentation

void ns3::SsServiceFlowManager::AddServiceFlow ( ServiceFlow serviceFlow)

add a service flow to the list

Parameters:
serviceFlowthe service flow to add

Reimplemented from ns3::ServiceFlowManager.

Referenced by AddServiceFlow(), and ns3::SubscriberStationNetDevice::AddServiceFlow().

void ns3::SsServiceFlowManager::AddServiceFlow ( ServiceFlow  serviceFlow)

add a service flow to the list

Parameters:
serviceFlowthe service flow to add

References AddServiceFlow().

void ns3::SsServiceFlowManager::DoDispose ( void  )
virtual

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

It is safe to call GetObject from within this method.

Reimplemented from ns3::ServiceFlowManager.

uint8_t ns3::SsServiceFlowManager::GetMaxDsaReqRetries ( void  ) const
Returns:
the maximum retries on DSA request message
void ns3::SsServiceFlowManager::SetMaxDsaReqRetries ( uint8_t  maxDsaReqRetries)

sets the maximum retries on DSA request message

Parameters:
maxDsaReqRetriesthe maximum retries on DSA request message

The documentation for this class was generated from the following files: