![]() |
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_ENB_HPP 00029 #define LTE_UPPERCONVERGENCE_ENB_HPP 00030 00031 #include <LTE/helper/TransactionID.hpp> 00032 #include <DLL/UpperConvergence.hpp> 00033 00034 namespace dll { class ILayer2; } 00035 namespace lte { namespace main { namespace rang { class IFlowManagement;}}} 00036 00037 namespace lte { namespace upperconvergence { 00038 00039 class ENBUpperConvergence : 00040 //virtual public wns::ldk::FunctionalUnit, 00041 virtual public dll::APUpperConvergence 00042 { 00043 public: 00044 ENBUpperConvergence(wns::ldk::fun::FUN* fun,const wns::pyconfig::View& config); 00045 00046 virtual void 00047 registerHandler(wns::service::dll::protocolNumber protocol, 00048 wns::service::dll::Handler* _dh); 00049 00050 void 00051 sendData(const wns::service::dll::UnicastAddress& _peer, 00052 const wns::osi::PDUPtr& pdu, 00053 wns::service::dll::protocolNumber protocol, 00054 wns::service::dll::FlowID _dllFlowID = 0); 00055 00056 void 00057 processIncoming(const wns::ldk::CompoundPtr& compound); 00058 00059 void 00060 onFUNCreated(); 00061 00062 void 00063 onFlowBuilt(wns::service::tl::FlowID _flowID, wns::service::dll::FlowID _dllFlowID); 00064 00065 wns::service::dll::FlowID 00066 requestFlow(lte::helper::TransactionID _transactionId, 00067 wns::service::dll::UnicastAddress utAddress); 00068 00069 void 00070 releaseFlow(wns::service::dll::FlowID flowID); 00071 00072 void 00073 deleteFlow(wns::service::dll::FlowID flowID); 00074 00075 private: 00076 dll::ILayer2* layer2; 00077 00078 wns::ldk::CommandReaderInterface* rlcReader; 00079 00080 lte::main::rang::IFlowManagement* flowManagementRang; 00081 }; 00082 00083 } // upperconvergence 00084 } // lte 00085 00086 #endif // LTE_UPPERCONVERGENCE_ENB_HPP
1.5.5