1 /* ------------------------------------------------------------------ 2 * Copyright (C) 1998-2009 PacketVideo 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either 13 * express or implied. 14 * See the License for the specific language governing permissions 15 * and limitations under the License. 16 * ------------------------------------------------------------------- 17 */ 18 // ---------------------------------------------------------------------- 19 // 20 // This Software is an original work of authorship of PacketVideo Corporation. 21 // Portions of the Software were developed in collaboration with NTT DoCoMo, 22 // Inc. or were derived from the public domain or materials licensed from 23 // third parties. Title and ownership, including all intellectual property 24 // rights in and to the Software shall remain with PacketVideo Corporation 25 // and NTT DoCoMo, Inc. 26 // 27 // ----------------------------------------------------------------------- 28 /*****************************************************************************/ 29 /* file name : tsc_blc.h */ 30 /* file contents : */ 31 /* draw : '96.10.09 */ 32 /*---------------------------------------------------------------------------*/ 33 /* amendment */ 34 /* Copyright (C) 1996 NTT DoCoMo */ 35 /*****************************************************************************/ 36 37 #ifndef TSCBLC_H_INCLUDED 38 #define TSCBLC_H_INCLUDED 39 40 41 #ifndef PVLOGGER_H_INCLUDED 42 #include "pvlogger.h" 43 #endif 44 45 #ifndef H245_H_INCLUDED 46 #include "h245.h" 47 #endif 48 49 #ifndef H223TYPES_H_INCLUDED 50 #include "h223types.h" 51 #endif 52 53 54 class TSC_statemanager; 55 56 57 class TSC_blc 58 { 59 public: TSC_blc(TSC_statemanager & aStateManager)60 TSC_blc(TSC_statemanager& aStateManager): iTSCstatemanager(aStateManager) 61 { 62 iLogger = PVLogger::GetLoggerObject("3g324m.h245user"); 63 }; ~TSC_blc()64 ~TSC_blc() {}; 65 SetH245(H245 * aH245)66 void SetH245(H245* aH245) 67 { 68 iH245 = aH245; 69 } 70 /* Bi-Directional Logical Channel Establish */ 71 void BlcEtbReq(TPVChannelId Lcn, 72 PS_DataType pDataTypeForward, 73 PS_H223LogicalChannelParameters pH223ParamsForward, 74 PS_DataType pDataTypeReverse, 75 PS_H223LogicalChannelParameters pH223ParamsReverse); 76 void BlcEtbRps(TPVChannelId, TPVChannelId); 77 TPVDirection BlcRlsReq(int32, uint32, uint32); // add cause parameter 78 private: 79 H245* iH245; 80 TSC_statemanager& iTSCstatemanager; 81 PVLogger* iLogger; 82 }; 83 84 #endif 85 86