User Manual, Developers Guide and API Documentation

Handler.hpp

Go to the documentation of this file.
00001 /******************************************************************************
00002  * WNS (Wireless Network Simulator)                                           *
00003  * __________________________________________________________________________ *
00004  *                                                                            *
00005  * Copyright (C) 2004-2006                                                    *
00006  * Chair of Communication Networks (ComNets)                                  *
00007  * Kopernikusstr. 16, D-52074 Aachen, Germany                                 *
00008  * phone: ++49-241-80-27910 (phone), fax: ++49-241-80-22242                   *
00009  * email: wns@comnets.rwth-aachen.de                                          *
00010  * www: http://wns.comnets.rwth-aachen.de                                     *
00011  ******************************************************************************/
00012 
00013 #ifndef WNS_SERVICE_PHY_COPPER_HANDLER_HPP
00014 #define WNS_SERVICE_PHY_COPPER_HANDLER_HPP
00015 
00016 #include <WNS/osi/PDU.hpp>
00017 
00018 namespace wns { namespace service { namespace phy { namespace copper {
00019 
00038     class Handler
00039     {
00040     public:
00041         virtual
00042         ~Handler()
00043         {}
00044 
00056         virtual void
00057         onData(
00058             const wns::osi::PDUPtr& data,
00059             double ber,
00060             bool collision) = 0;
00061 
00062     };
00063 
00064 } // copper
00065 } // phy
00066 } // service
00067 } // wns
00068 
00069 
00070 #endif // WNS_SERVICE_PHY_COPPER_HANDLER_HPP
00071 
00072 

Generated on Sun May 27 03:31:54 2012 for openWNS by  doxygen 1.5.5