Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

ns3::FlowProbe Class Reference

#include <flow-probe.h>

Inheritance diagram for ns3::FlowProbe:
Inheritance graph
[legend]
Collaboration diagram for ns3::FlowProbe:
Collaboration graph
[legend]

List of all members.

Classes

struct  FlowStats

Public Types

typedef std::map< FlowId,
FlowStats
Stats

Public Member Functions

void AddPacketStats (FlowId flowId, uint32_t packetSize, Time delayFromFirstProbe)
void AddPacketDropStats (FlowId flowId, uint32_t packetSize, uint32_t reasonCode)
Stats GetStats () const
void SerializeToXmlStream (std::ostream &os, int indent, uint32_t index) const

Protected Member Functions

 FlowProbe (Ptr< FlowMonitor > flowMonitor)

Protected Attributes

Ptr< FlowMonitorm_flowMonitor
Stats m_stats

Detailed Description

The FlowProbe class is responsible for listening for packet events in a specific point of the simulated space, report those events to the global FlowMonitor, and collect its own flow statistics regarding only the packets that pass through that probe.


Member Function Documentation

Stats ns3::FlowProbe::GetStats (  )  const

Get the partial flow statistics stored in this probe. With this information you can, for example, find out what is the delay from the first probe to this one.


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