CTelObject Class Reference
class CTelObject : public CObject
|
Public Member Functions
|
|
CTelObject
()
|
|
~CTelObject
()
|
TDes8
*
|
BufferDes1
(const
CBuffer
*,
CBuffer::TWhichSlot
)
|
TDes16
*
|
BufferDes1u
(const
CBuffer
*,
CBuffer::TWhichSlot
)
|
TDes8
*
|
BufferDes2
(const
CBuffer
*,
CBuffer::TWhichSlot
)
|
TDes16
*
|
BufferDes2u
(const
CBuffer
*,
CBuffer::TWhichSlot
)
|
void
|
CancelSubSession
(
CTelSession
*, const
TInt
)
|
void
|
CheckAndDestroyDummySubSession
()
|
void
|
CloseSubSessionPreProcessing
(
CTelSession
*, const
TInt
)
|
void
|
CreateDummySession
(
CTelSession
*, const
TInt
,
TBool
)
|
void
|
CreateDummySessionObjectL
(
CTelSession
*)
|
IMPORT_C
TInt
|
DownCallOption
(const
TInt
,
TAny
*)
|
IMPORT_C void
|
FlowControlResume
()
|
IMPORT_C void
|
FlowControlSuspend
()
|
void
|
FlushReqs
(
CTelSession
*, const
TInt
)
|
void
|
GeneralReq
(const
RMessage2
&,
CTelSession
*,
CReqEntry
*,
TBool
)
|
IMPORT_C
TSecurityPolicy
|
GetRequiredPlatSecCaps
(const
TInt
)
|
void
|
OpenPostProcessing
(
CTelSession
*, const
TInt
)
|
CPhoneBase
*
|
PhoneOwner
()
|
TUint8
*
|
Ptr1
(const
TDes8
*)
|
void
|
RemoveDummySubSessionDestroyer
()
|
IMPORT_C void
|
ReqCompleted
(const
TTsyReqHandle
, const
TInt
)
|
TInt
|
ResolveError
(
CTelSession
*, const
TInt
)
|
IMPORT_C
TInt
|
ServerVersion
()
|
TInt
|
Service
(const
RMessage2
&,
CReqEntry
*)
|
void
|
SetPhoneOwner
(
CPhoneBase
*)
|
void
|
TelObjectClose
()
|
IMPORT_C
TInt
|
UpCallOption
(const
TInt
,
TAny
*)
|
void
|
UpdateAndCompleteIfNecessary
(
CReqEntry
*,
TInt
)
|
void
|
WriteBackAndCompleteBufferedReq
(const
RMessage2
&,
CReqEntry
*,
TInt
)
|
void
|
WriteBackAndCompleteReq
(
CReqEntry
*, const
TInt
)
|
Private Member Functions
|
IMPORT_C void
|
CTelObject_Reserved1
()
|
void
|
CancelActiveReq
(
CTelSession
*, const
TInt
)
|
void
|
CheckAndResize
(
TInt
&, const
RMessage2
&)
|
CReqEntry
*
|
CheckForSimilarRequestAndCreateL
(const
RMessage2
&,
CTelSession
*)
|
void
|
CompleteAndDestroyReq
(
CReqEntry
*, const
TInt
)
|
void
|
CompleteOrBufferRead
(const
RMessage2
&,
CReqEntry
*)
|
HEtelBufC8
*
|
CreateNarrowBufferLC
(
RHeap
*, const
RMessage2
&,
TUint
,
TUint
,
TInt
&,
TInt
&,
TInt
)
|
HEtelBufC16
*
|
CreateUnicodeBufferLC
(
RHeap
*, const
RMessage2
&,
TUint
,
TUint
,
TInt
&,
TInt
&,
TInt
)
|
void
|
DestroyReq
(
CReqEntry
*)
|
void
|
GetMessageDescriptorSizes
(const
RMessage2
&,
TInt
&,
TInt
&)
|
TBool
|
IsActiveReq
(
CTelSession
*, const
TInt
)
|
TBool
|
IsSameMessageType
(const
RMessage2
&,
CReqEntry
*)
|
CReqEntry
*
|
ReqAnalyserL
(const
RMessage2
&,
CTelSession
*, TReqMode &)
|
Constructor & Destructor Documentation
~CTelObject()
IMPORT_C
|
~CTelObject
|
(
|
)
|
[virtual]
|
Member Functions Documentation
BufferDes1(const CBuffer *, CBuffer::TWhichSlot)
BufferDes1u(const CBuffer *, CBuffer::TWhichSlot)
BufferDes2(const CBuffer *, CBuffer::TWhichSlot)
BufferDes2u(const CBuffer *, CBuffer::TWhichSlot)
CTelObject_Reserved1()
IMPORT_C void
|
CTelObject_Reserved1
|
(
|
)
|
[private, virtual]
|
CancelActiveReq(CTelSession *, const TInt)
void
|
CancelActiveReq
|
(
|
CTelSession
*
|
aSession,
|
|
const
TInt
|
aSubSessionHandle
|
|
)
|
[private]
|
CancelSubSession(CTelSession *, const TInt)
void
|
CancelSubSession
|
(
|
CTelSession
*
|
aSession,
|
|
const
TInt
|
aSubSessionHandle
|
|
)
|
|
CheckAndDestroyDummySubSession()
void
|
CheckAndDestroyDummySubSession
|
(
|
)
|
|
CheckAndResize(TInt &, const RMessage2 &)
void
|
CheckAndResize
|
(
|
TInt
&
|
aSizeOfData,
|
|
const
RMessage2
&
|
aMessage
|
|
)
|
const [private]
|
CheckForSimilarRequestAndCreateL(const RMessage2 &, CTelSession *)
CloseSubSessionPreProcessing(CTelSession *, const TInt)
void
|
CloseSubSessionPreProcessing
|
(
|
CTelSession
*
|
aSession,
|
|
const
TInt
|
aSubSessionHandle
|
|
)
|
[pure virtual]
|
CompleteAndDestroyReq(CReqEntry *, const TInt)
void
|
CompleteAndDestroyReq
|
(
|
CReqEntry
*
|
aReqEntry,
|
|
const
TInt
|
aStatus
|
|
)
|
const [private]
|
CompleteOrBufferRead(const RMessage2 &, CReqEntry *)
CreateDummySession(CTelSession *, const TInt, TBool)
void
|
CreateDummySession
|
(
|
CTelSession
*
|
aSession,
|
|
const
TInt
|
aSubSessionHandle,
|
|
TBool
|
aCreateDummy = EFalse
|
|
)
|
|
CreateDummySessionObjectL(CTelSession *)
void
|
CreateDummySessionObjectL
|
(
|
CTelSession
*
|
aTelSession
|
)
|
|
CreateNarrowBufferLC(RHeap *, const RMessage2 &, TUint, TUint, TInt &, TInt &, TInt)
CreateUnicodeBufferLC(RHeap *, const RMessage2 &, TUint, TUint, TInt &, TInt &, TInt)
DestroyReq(CReqEntry *)
void
|
DestroyReq
|
(
|
CReqEntry
*
|
aReqEntry
|
)
|
const [private]
|
DownCallOption(const TInt, TAny *)
IMPORT_C
TInt
|
DownCallOption
|
(
|
const
TInt
|
aOptionNumber,
|
|
TAny
*
|
aData
|
|
)
|
[virtual]
|
FlowControlResume()
IMPORT_C void
|
FlowControlResume
|
(
|
)
|
[virtual]
|
FlowControlSuspend()
IMPORT_C void
|
FlowControlSuspend
|
(
|
)
|
[virtual]
|
FlushReqs(CTelSession *, const TInt)
GeneralReq(const RMessage2 &, CTelSession *, CReqEntry *, TBool)
GetMessageDescriptorSizes(const RMessage2 &, TInt &, TInt &)
void
|
GetMessageDescriptorSizes
|
(
|
const
RMessage2
&
|
aMessage,
|
|
TInt
&
|
aSize1,
|
|
TInt
&
|
aSize2
|
|
)
|
const [private]
|
GetRequiredPlatSecCaps(const TInt)
Default implementation of TSY side of the Etel capability policy checking delegation. If the TSY does not support CustomAPIs or the TSY does not implement it's own version of this virtual function, then this default implementation will get used and shall always return a policy that fails the capability check.
Parameters
const
TInt
aIpc
|
This parameter is not used in the base implementation of this virtual function.
|
IsActiveReq(CTelSession *, const TInt)
IsPriorityClientReq(TInt)
TBool
|
IsPriorityClientReq
|
(
|
TInt
|
aReq
|
)
|
const [protected]
|
IsSameMessageType(const RMessage2 &, CReqEntry *)
OpenPostProcessing(CTelSession *, const TInt)
void
|
OpenPostProcessing
|
(
|
CTelSession
*
|
aSession,
|
|
const
TInt
|
aSubSessionHandle
|
|
)
|
[pure virtual]
|
RemoveDummySubSessionDestroyer()
void
|
RemoveDummySubSessionDestroyer
|
(
|
)
|
|
ReqAnalyserL(const RMessage2 &, CTelSession *, TReqMode &)
ReqCompleted(const TTsyReqHandle, const TInt)
IMPORT_C void
|
ReqCompleted
|
(
|
const
TTsyReqHandle
|
aTsyReqHandle,
|
|
const
TInt
|
aError
|
|
)
|
[virtual]
|
ResolveError(CTelSession *, const TInt)
Converts a coded error into the correct error to return. The coded error value allows an extended error code to be present allong with a basic error code. If the client has specified awareness of the extended codes, then they are returned. Otherwise the basic error code will be returned. The advanced error codes do not overlap the basic ones.
In the case of no extended error code available, then the core error code will be returned regardless of the client's extended error granularity.
Parameters
CTelSession
* aSession
|
The CTelSession of the client.
|
const
TInt
aError
|
The coded error.
|
ServerVersion()
IMPORT_C
TInt
|
ServerVersion
|
(
|
)
|
const [virtual]
|
Service(const RMessage2 &, CReqEntry *)
SetPhoneOwner(CPhoneBase *)
UpCallOption(const TInt, TAny *)
IMPORT_C
TInt
|
UpCallOption
|
(
|
const
TInt
|
aOptionNumber,
|
|
TAny
*
|
aData
|
|
)
|
[virtual]
|
UpdateAndCompleteIfNecessary(CReqEntry *, TInt)
void
|
UpdateAndCompleteIfNecessary
|
(
|
CReqEntry
*
|
aReqEntry,
|
|
TInt
|
aError
|
|
)
|
const
|
WriteBackAndCompleteBufferedReq(const RMessage2 &, CReqEntry *, TInt)
WriteBackAndCompleteReq(CReqEntry *, const TInt)
void
|
WriteBackAndCompleteReq
|
(
|
CReqEntry
*
|
aReqEntry,
|
|
const
TInt
|
aError
|
|
)
|
const
|
Member Data Documentation
TInt
iActiveReqCount
TInt
|
iActiveReqCount
|
[private]
|
TAny * iCTelObject_Reserved
TAny
*
|
iCTelObject_Reserved
|
[private]
|
TBool
iCreateDummy
TBool
|
iCreateDummy
|
[private]
|
CDestroyDummySubSession * iDestroyDummySubSession
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.