![]() |
User Manual, Developers Guide and API Documentation |
![]() |
00001 /******************************************************************************* 00002 * This file is part of openWNS (open Wireless Network Simulator) 00003 * _____________________________________________________________________________ 00004 * 00005 * Copyright (C) 2004-2007 00006 * Chair of Communication Networks (ComNets) 00007 * Kopernikusstr. 16, D-52074 Aachen, Germany 00008 * phone: ++49-241-80-27910, 00009 * fax: ++49-241-80-22242 00010 * email: info@openwns.org 00011 * www: http://www.openwns.org 00012 * _____________________________________________________________________________ 00013 * 00014 * openWNS is free software; you can redistribute it and/or modify it under the 00015 * terms of the GNU Lesser General Public License version 2 as published by the 00016 * Free Software Foundation; 00017 * 00018 * openWNS is distributed in the hope that it will be useful, but WITHOUT ANY 00019 * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 00020 * A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 00021 * details. 00022 * 00023 * You should have received a copy of the GNU Lesser General Public License 00024 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00025 * 00026 ******************************************************************************/ 00027 00028 #ifndef LTE_UPPERCONVERGENCE_UE_HPP 00029 #define LTE_UPPERCONVERGENCE_UE_HPP 00030 00031 #include <DLL/UpperConvergence.hpp> 00032 #include <DLL/Layer2.hpp> 00033 00034 #include <WNS/ldk/FunctionalUnit.hpp> 00035 00036 namespace lte { namespace controlplane { namespace flowmanagement { class IFlowManagerUE; }}} 00037 00038 namespace lte { namespace upperconvergence { 00039 00040 class UEUpperConvergence : 00041 virtual public wns::ldk::FunctionalUnit, 00042 virtual public dll::UTUpperConvergence 00043 { 00044 public: 00045 00046 UEUpperConvergence(wns::ldk::fun::FUN* fun, 00047 const wns::pyconfig::View& config); 00048 00049 void 00050 sendData(const wns::service::dll::UnicastAddress& _peer, 00051 const wns::osi::PDUPtr& pdu, 00052 wns::service::dll::protocolNumber protocol, 00053 wns::service::dll::FlowID _dllFlowID = 0); 00054 00055 void 00056 processIncoming(const wns::ldk::CompoundPtr& compound); 00057 00058 00059 void 00060 onFUNCreated(); 00061 00062 virtual void 00063 registerHandler(wns::service::dll::protocolNumber protocol, 00064 wns::service::dll::Handler* _dh); 00065 00066 void 00067 registerFlowHandler(wns::service::dll::FlowHandler* flowHandler); 00068 00069 void 00070 establishFlow(wns::service::tl::FlowID flowID, wns::service::qos::QoSClass qosClass); 00071 00072 void 00073 releaseFlow(wns::service::tl::FlowID flowID); 00074 00075 void 00076 onFlowBuilt(wns::service::tl::FlowID _flowID, 00077 wns::service::dll::FlowID _dllFlowID, 00078 bool newFlow); 00079 00080 private: 00081 00082 wns::ldk::fun::FUN* fun; 00083 00084 wns::ldk::CommandReaderInterface* rlcReader; 00085 00086 dll::ILayer2* layer2; 00087 00088 lte::controlplane::flowmanagement::IFlowManagerUE* flowManager; 00089 00090 wns::service::dll::FlowHandler* tlFlowHandler; 00091 }; 00092 00093 } // upperconvergence 00094 } // lte 00095 00096 #endif // LTE_UPPERCONVERGENCE_UE_HPP
1.5.5