![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <Listener.hpp>

Public Member Functions | |
| Listener (const wns::pyconfig::View &_pyco, wns::node::component::Interface *component) | |
| void | onData (const wns::osi::PDUPtr &_data) |
| handle incoming traffic from the peer | |
| virtual std::string | printAddress () const |
| void | registerBinding (constanze::Binding *_binding) |
| ~Listener () | |
Private Attributes | |
| constanze::Binding * | binding |
| binding to a socket with ip address | |
| long unsigned int | bitCounter |
| count bits | |
| wns::probe::bus::ContextCollectorPtr | bitsRateProbe |
| wns::probe::bus::ContextCollectorPtr | bitsWindowedRateProbe |
| OneLiner | bitsWindowedResult |
| helpers for text putting into probes | |
| simTimeType | currentWindowEnd |
| time at which the averaging window ends | |
| wns::probe::bus::ContextCollectorPtr | delayProbe |
| std::string | domainName |
| domainName | |
| bool | doMMPPestimation |
| if true, do estimation of MMPP states. Toggle on in Node.py | |
| wns::logger::Logger | log |
| Logger. | |
| Measurement * | measurement |
| class for doing measurements based on rate(time) | |
| std::vector< int > * | observationVector |
| vector of observations [wez] | |
| long unsigned int | packetCounter |
| count packets | |
| wns::probe::bus::ContextCollectorPtr | packetRateProbe |
| wns::probe::bus::ContextCollectorPtr | packetWindowedRateProbe |
| OneLiner | packetWindowedResult |
| wns::pyconfig::View | pyco |
| Python view. | |
| wns::probe::bus::ContextCollectorPtr | sizeProbe |
| Probe Front-ends. | |
| int | stateLevel |
| control step identification | |
| long unsigned int | windowedBitCounter |
| count bits in current window | |
| long unsigned int | windowedPacketCounter |
| count packets in current window | |
| double | windowSize |
| windowed probes calculate rate values averaged over this time | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const Listener &l) |
Definition at line 76 of file Listener.hpp.
| Listener::Listener | ( | const wns::pyconfig::View & | _pyco, | |
| wns::node::component::Interface * | component | |||
| ) |
Definition at line 34 of file Listener.cpp.
| Listener::~Listener | ( | ) |
Definition at line 83 of file Listener.cpp.
| void Listener::onData | ( | const wns::osi::PDUPtr & | _data | ) |
Definition at line 108 of file Listener.cpp.
| std::string Listener::printAddress | ( | ) | const [virtual] |
Definition at line 199 of file Listener.cpp.
| void Listener::registerBinding | ( | constanze::Binding * | _binding | ) |
Definition at line 193 of file Listener.cpp.
| std::ostream& operator<< | ( | std::ostream & | os, | |
| const Listener & | l | |||
| ) | [friend] |
Definition at line 94 of file Listener.hpp.
constanze::Binding* constanze::Listener::binding [private] |
Definition at line 111 of file Listener.hpp.
long unsigned int constanze::Listener::bitCounter [private] |
Definition at line 152 of file Listener.hpp.
Definition at line 139 of file Listener.hpp.
Definition at line 141 of file Listener.hpp.
Definition at line 146 of file Listener.hpp.
Definition at line 158 of file Listener.hpp.
Definition at line 143 of file Listener.hpp.
std::string constanze::Listener::domainName [private] |
Definition at line 108 of file Listener.hpp.
bool constanze::Listener::doMMPPestimation [private] |
Definition at line 131 of file Listener.hpp.
wns::logger::Logger constanze::Listener::log [private] |
Definition at line 105 of file Listener.hpp.
Measurement* constanze::Listener::measurement [private] |
Definition at line 116 of file Listener.hpp.
std::vector<int>* constanze::Listener::observationVector [private] |
long unsigned int constanze::Listener::packetCounter [private] |
Definition at line 150 of file Listener.hpp.
Definition at line 140 of file Listener.hpp.
Definition at line 142 of file Listener.hpp.
Definition at line 147 of file Listener.hpp.
wns::pyconfig::View constanze::Listener::pyco [private] |
Definition at line 102 of file Listener.hpp.
Definition at line 138 of file Listener.hpp.
int constanze::Listener::stateLevel [private] |
Definition at line 121 of file Listener.hpp.
long unsigned int constanze::Listener::windowedBitCounter [private] |
Definition at line 156 of file Listener.hpp.
long unsigned int constanze::Listener::windowedPacketCounter [private] |
Definition at line 154 of file Listener.hpp.
double constanze::Listener::windowSize [private] |
Definition at line 126 of file Listener.hpp.
1.5.5