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 : selcblccmn.h */ 30 /* file contents : Uni-Directional and Bi-Directional */ 31 /* : Logical Channel Signalling Entity */ 32 /* : Common Management Header */ 33 /* draw : '96.11.11 */ 34 /*----------------------------------------------------------------------*/ 35 /* amendment : */ 36 /* Copyright (C) 1996 NTT DoCoMo */ 37 /************************************************************************/ 38 #ifndef _SELCBLCCMN_H_ 39 #define _SELCBLCCMN_H_ 40 41 #include "lcentry.h" 42 #include "sebase.h" 43 44 /************************************************************************/ 45 /* Class Declaration */ 46 /************************************************************************/ 47 class LCBLCCmn : public SEBase 48 { 49 public: LCBLCCmn()50 LCBLCCmn() : SEBase() {} ~LCBLCCmn()51 ~LCBLCCmn() {} 52 53 int32 T103TimerIdGet(uint32 forwardLcn) ; 54 void T103TimerStart(uint32 forwardLcn, uint32 tmrSqcNumber) ; 55 void T103TimerStop(uint32 forwardLcn) ; 56 57 void MsgOpenSend(uint16 forwardLcn, PS_ForwardReverseParam) ; 58 void MsgOpenAckSend(uint16 forwardLcn, PS_ReverseData) ; 59 void MsgOpenCfmSend(uint16 forwardLcn, PS_OpenLogicalChannelAck) ; 60 void MsgOpenRjtSend(uint16 forwardLcn, PS_OlcRejectCause) ; 61 void MsgCloseSend(uint16 forwardLcn, PS_Source) ; 62 void MsgCloseAckSend(uint16 forwardLcn) ; 63 64 void PtvEtbIdcSend(uint32 forwardLcn, PS_OpenLogicalChannel, int32 reverseLcn = -1) ; 65 void PtvEtbCfmSend(uint32 forwardLcn, PS_OpenLogicalChannelAck, int32 reverseLcn = -1) ; 66 67 void PtvEtbCfmSend2(uint32 forwardLcn, PS_OpenLogicalChannelAck, int32 reverseLcn = -1) ; 68 void PtvRlsIdcSend(uint32 forwardLcn, PS_Source , PS_OlcRejectCause, S_InfHeader::TDirection dir, int32 reverseLcn = -1) ; 69 void PtvRlsCfmSend(uint32 forwardLcn, int32 reverseLcn = -1) ; 70 void PtvErrIdcSend(uint32 forwardLcn, ENUM_ErrCode, int32 reverseLcn = -1) ; 71 72 private: 73 LCBLCCmn(const LCBLCCmn&); 74 }; 75 76 #endif /* _SELCBLCCMN */ 77