User Manual, Developers Guide and API Documentation

FlowHandler.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 TCP_FLOWHANDLER_HPP
00014 #define TCP_FLOWHANDLER_HPP
00015 
00016 #include <WNS/service/dll/Handler.hpp>
00017 #include <WNS/logger/Logger.hpp>
00018 #include <WNS/service/tl/FlowID.hpp>
00019 #include <TCP/Service.hpp>
00020 
00021 namespace tcp {
00022 
00023     class Service;
00034     class FlowHandler :
00035         public wns::service::dll::FlowHandler
00036     {
00037     public:
00038 
00039         std::string serviceName;
00040         wns::logger::Logger logger;
00044         FlowHandler();
00045 
00049         ~FlowHandler() {};
00050 
00055         void
00056         onFlowEstablished(wns::service::tl::FlowID flowID, int _dllFlowID);
00057 
00062         void
00063         onFlowChanged(wns::service::tl::FlowID flowID, int _dllFlowID);
00064 
00065         void
00066         setTLService(tcp::Service* _tlService);
00067     private:
00068         tcp::Service* tlService;
00069     };
00070 
00071 } // tcp
00072 
00073 
00074 #endif //  TCP_FLOWHANDLER_HPP

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