|
ns-3
|


Public Types | |
|
typedef std::list< Ptr< const Packet > > | FragmentsQueue |
Public Member Functions | |
| WimaxConnection (Cid cid, enum Cid::Type type) | |
| Cid | GetCid (void) const |
| enum Cid::Type | GetType (void) const |
| Ptr< WimaxMacQueue > | GetQueue (void) const |
| void | SetServiceFlow (ServiceFlow *serviceFlow) |
| set the service flow associated to this connection | |
| ServiceFlow * | GetServiceFlow (void) const |
| uint8_t | GetSchedulingType (void) const |
| bool | Enqueue (Ptr< Packet > packet, const MacHeaderType &hdrType, const GenericMacHeader &hdr) |
| enqueue a packet in the queue of the connection | |
| Ptr< Packet > | Dequeue (MacHeaderType::HeaderType packetType=MacHeaderType::HEADER_TYPE_GENERIC) |
| dequeue a packet from the queue of the connection | |
| Ptr< Packet > | Dequeue (MacHeaderType::HeaderType packetType, uint32_t availableByte) |
| bool | HasPackets (void) const |
| bool | HasPackets (MacHeaderType::HeaderType packetType) const |
| std::string | GetTypeStr (void) const |
| const FragmentsQueue | GetFragmentsQueue (void) const |
| get a queue of received fragments | |
| void | FragmentEnqueue (Ptr< const Packet > fragment) |
| enqueue a received packet (that is a fragment) into the fragments queue | |
| void | ClearFragmentsQueue (void) |
| delete all enqueued fragments | |
Static Public Member Functions | |
| static TypeId | GetTypeId (void) |
| This method returns the TypeId associated to ns3::WimaxConnection. | |
| Ptr< Packet > ns3::WimaxConnection::Dequeue | ( | MacHeaderType::HeaderType | packetType = MacHeaderType::HEADER_TYPE_GENERIC | ) |
dequeue a packet from the queue of the connection
| packetType | the type of the packet to dequeue |
References ns3::WimaxMacQueue::Dequeue().
Referenced by ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(), and ns3::SSScheduler::Schedule().
| bool ns3::WimaxConnection::Enqueue | ( | Ptr< Packet > | packet, |
| const MacHeaderType & | hdrType, | ||
| const GenericMacHeader & | hdr | ||
| ) |
enqueue a packet in the queue of the connection
| packet | the packet to be enqueued |
| hdrType | the header type of the packet |
| hdr | the header of the packet |
References ns3::WimaxMacQueue::Enqueue().
Referenced by ns3::BaseStationNetDevice::Enqueue(), and ns3::SubscriberStationNetDevice::Enqueue().
| void ns3::WimaxConnection::FragmentEnqueue | ( | Ptr< const Packet > | fragment | ) |
enqueue a received packet (that is a fragment) into the fragments queue
| fragment | received fragment |
| Ptr< WimaxMacQueue > ns3::WimaxConnection::GetQueue | ( | void | ) | const |
Referenced by ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(), GetTypeId(), ns3::SSScheduler::Schedule(), and ns3::BSSchedulerRtps::Schedule().
| uint8_t ns3::WimaxConnection::GetSchedulingType | ( | void | ) | const |
Referenced by ns3::SubscriberStationNetDevice::Enqueue().
| ServiceFlow * ns3::WimaxConnection::GetServiceFlow | ( | void | ) | const |
Referenced by ns3::BSSchedulerRtps::BSSchedulerRTPSConnection(), and ns3::SubscriberStationNetDevice::SendBurst().
| TypeId ns3::WimaxConnection::GetTypeId | ( | void | ) | [static] |
This method returns the TypeId associated to ns3::WimaxConnection.
This object is accessible through the following paths with Config::Set and Config::Connect:
Attributes defined for this type:
No TraceSources defined for this type.
Reimplemented from ns3::Object.
References GetQueue(), and ns3::TypeId::SetParent().
| bool ns3::WimaxConnection::HasPackets | ( | void | ) | const |
Referenced by ns3::SSScheduler::Schedule().
| bool ns3::WimaxConnection::HasPackets | ( | MacHeaderType::HeaderType | packetType | ) | const |
| packetType | type of packet to check in the queue |
| void ns3::WimaxConnection::SetServiceFlow | ( | ServiceFlow * | serviceFlow | ) |
set the service flow associated to this connection
| serviceFlow | The service flow to be associated to this connection |
Referenced by ns3::BsServiceFlowManager::ProcessDsaReq().