RINASim  October 2016
Documentation of framework for OMNeT++
UpstreamNotifier Class Reference

#include <UpstreamNotifier.h>

Inheritance diagram for UpstreamNotifier:
RMTMaxQBase

Public Member Functions

virtual bool run (RMTQueue *queue)
 
- Public Member Functions inherited from RMTMaxQBase
virtual void onQueueLengthDrop (RMTQueue *queue)
 

Protected Member Functions

virtual void onPolicyInit ()
 
- Protected Member Functions inherited from RMTMaxQBase
virtual void handleMessage (cMessage *msg)
 
void notifySenderOfCongestion (const cPacket *pdu)
 

Additional Inherited Members

- Protected Attributes inherited from RMTMaxQBase
RMTQMonitorBaseqMonPolicy
 
AddressComparatorBaseaddrComparator
 
RMTModuleAllocatorrmtAllocator
 

Detailed Description

Definition at line 29 of file UpstreamNotifier.h.

Member Function Documentation

void UpstreamNotifier::onPolicyInit ( )
protectedvirtual

A hook method invoked after the initial setup of policy module.

Reimplemented from RMTMaxQBase.

Definition at line 28 of file UpstreamNotifier.cc.

bool UpstreamNotifier::run ( RMTQueue queue)
virtual

A hook method invoked when a queue length is greater or equal to its threshold. Makes a decision about whether to drop the arrived PDU.

Parameters
queuepointer to the queue
Returns
true if the PDU should be dropped, false otherwise

Reimplemented from RMTMaxQBase.

Definition at line 33 of file UpstreamNotifier.cc.


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