|
A Discrete-Event Network Simulator
|
API
|
Go to the documentation of this file.
22 #include "ns3/service-flow.h"
23 #include "ns3/mac-messages.h"
46 virtual void DoRun (
void);
51 :
TestCase (
"Test the DSA request messages")
void AddTestCase(TestCase *testCase, TestDuration duration=QUICK)
Add an individual child TestCase to this test suite.
uint32_t GetMinReservedTrafficRate(void) const
Get minimum reserved traffic rate.
void AddHeader(const Header &header)
Add header to this packet.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
uint32_t GetMaxTrafficBurst(void) const
Get max traffic burst.
void SetServiceSchedulingType(enum ServiceFlow::SchedulingType schedType)
Set service scheduling type.
void SetMaxSustainedTrafficRate(uint32_t maxSustainedRate)
Set max sustained traffic rate.
void SetMaximumLatency(uint32_t MaximumLatency)
Set maximum latency.
virtual ~DsaRequestTestCase()
uint32_t GetMaxSustainedTrafficRate(void) const
Get max sustained traffic rate.
static Ns3WimaxMacMessagesTestSuite ns3WimaxMacMessagesTestSuite
the test suite
This class implements the DSA-REQ message described by "IEEE Standard for Local and metropolitan area...
void SetConvergenceSublayerParam(CsParameters csparam)
Set convergence sublayer parameters.
ServiceFlow GetServiceFlow(void) const
Ns3 Wimax Mac Messages Test Suite.
uint32_t RemoveHeader(Header &header)
Deserialize and remove the header from the internal buffer.
uint32_t GetMaximumLatency(void) const
Get maximum latency.
void SetMinReservedTrafficRate(uint32_t minResvRate)
Set minimum reserved traffic rate.
Test the DSA request message.
enum Direction GetDirection(void) const
Get direction.
void SetSfid(uint32_t sfid)
Set SFID.
#define NS_TEST_ASSERT_MSG_EQ(actual, limit, msg)
Test that an actual and expected (limit) value are equal and report and abort if not.
virtual void DoRun(void)
Implementation to actually run this TestCase.
void SetMinTolerableTrafficRate(uint32_t minJitter)
Set minimum tolerable traffic rate.
void SetTrafficPriority(uint8_t priority)
Set traffic priority.
void SetCsSpecification(enum CsSpecification spec)
Set CS specification.
uint8_t GetTrafficPriority(void) const
Get traffic priority.
enum CsSpecification GetCsSpecification(void) const
Get CS specification.
This class implements service flows as described by the IEEE-802.16 standard.
uint32_t GetMinTolerableTrafficRate(void) const
Get minimum tolerable traffic rate.
uint32_t GetSfid(void) const
Get SFID.
void SetMaxTrafficBurst(uint32_t maxTrafficBurst)
Set maximum traffic burst.
enum ServiceFlow::SchedulingType GetServiceSchedulingType(void) const
Get service scheduling type.
Ns3WimaxMacMessagesTestSuite()
IpcsClassifierRecord class.