User Manual, Developers Guide and API Documentation

FlowHandler.cpp

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 #include <TCP/FlowHandler.hpp>
00014 #include <WNS/ldk/CommandTypeSpecifier.hpp>
00015 #include <WNS/StaticFactory.hpp>
00016 
00017 using namespace tcp;
00018 
00019 FlowHandler::FlowHandler()
00020 {
00021 }
00022 
00023 void
00024 FlowHandler::onFlowEstablished(wns::service::tl::FlowID flowID, int _dllFlowID)
00025 {
00026     tlService->openConnectionContinue(flowID, _dllFlowID);
00027 }
00028 
00029 void
00030 FlowHandler::onFlowChanged(wns::service::tl::FlowID flowID, int _dllFlowID)
00031 {
00032     tlService->dllFlowChanged(flowID, _dllFlowID);
00033 }
00034 
00035 void
00036 FlowHandler::setTLService(Service* _tlService)
00037 {
00038     tlService = _tlService;
00039 }

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