Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members

PacketSink Class Reference

#include <netelem.h>

Inheritance diagram for PacketSink:

NetElement SrcSink List of all members.

Public Member Functions

virtual void Recv (timeunits now, Packet *p)
void Reset (bool dump=false)
void namConnectTrace (void)

Detailed Description

Simple Sink. Silently deletes received packets.


Member Function Documentation

void PacketSink::Recv timeunits  now,
Packet p
[virtual]
 

Silently destroy the packet. No statistics are collected.

Implements NetElement.

Reimplemented in SrcSink.

void PacketSink::Reset bool  dump = false  )  [inline, virtual]
 

Empty, kept for derived classes

Implements NetElement.

Reimplemented in SrcSink.


The documentation for this class was generated from the following files:
Generated on Fri Jan 19 15:35:17 2007 by  doxygen 1.4.2