RBSClient Class Reference
class RBSClient : public RSessionBase
|
Simple ClientServer for testing and example purposes.
Public Member Functions
|
|
RBSClient
()
|
|
~RBSClient
()
|
void
|
AppendL
(
MBSElement
*)
|
void
|
CancelTransactionL
(const
TDesC8
&, const
TDesC8
&,
TLanguage
,
TInt
)
|
void
|
Close
()
|
TInt
|
Connect
()
|
void
|
GetBufferL
(const
TDesC8
&,
HBufC8
*&)
|
void
|
GetFileL
(const
TDesC8
&,
RFile
&)
|
void
|
GetIntL
(const
TDesC8
&,
TInt
&)
|
MBSElement
*
|
GetSeveralL
(
MDesC8Array
&)
|
MBSElement
*
|
GetStructureL
(const
TDesC8
&)
|
void
|
GetTextL
(const
TDesC8
&,
HBufC
*&)
|
void
|
InsertL
(
MBSElement
*)
|
void
|
RegisterObserverL
(
MBSBrandChangeObserver
*,
MBSBackupRestoreStateObserver
*)
|
void
|
RemoveBrandL
(const
TDesC8
&, const
TDesC8
&)
|
void
|
RemoveBrandsL
(const
TDesC8
&)
|
void
|
ReplaceL
(
MBSElement
*)
|
void
|
StartTransactionL
(const
TDesC8
&, const
TDesC8
&, const
TDesC8
&,
TLanguage
,
TTransactionType
,
TInt
)
|
TInt
|
StopTransactionL
(const
TDesC8
&, const
TDesC8
&,
TLanguage
,
TInt
)
|
void
|
UnRegisterObserverL
(
MBSBrandChangeObserver
*,
MBSBackupRestoreStateObserver
*)
|
void
|
isBrandUpdateRequiredL
(
TInt
&)
|
Private Member Functions
|
TIpcArgs
|
CreateArgumentsL
(const
TDesC8
&, const
TDesC8
&,
TLanguage
,
TInt
)
|
void
|
ExternalizeIdArrayL
(
RWriteStream
&,
MDesC8Array
&)
|
TInt
|
GetBackupRestoreL
()
|
TInt
|
GetBackupStateL
()
|
TInt
|
GetNewVersionL
()
|
TInt
|
GetValueL
(
TInt
)
|
void
|
InitClientL
(const
TDesC8
&, const
TDesC8
&, const
TDesC8
&,
TLanguage
,
TTransactionType
,
TInt
)
|
MBSElement
*
|
InternalizeElementL
(
RReadStream
&)
|
void
|
RegisterObserverToServerL
(
TRequestStatus
&)
|
void
|
SendUpdateL
(
MBSElement
*,
TBSMessages
)
|
Inherited Functions
|
|
RHandleBase::Attributes()const
|
|
RHandleBase::BTraceId()const
|
|
RHandleBase::DoExtendedClose()
|
|
RHandleBase::Duplicate(const RThread &,TOwnerType)
|
|
RHandleBase::FullName()const
|
|
RHandleBase::FullName(TDes &)const
|
|
RHandleBase::Handle()const
|
|
RHandleBase::HandleInfo(THandleInfo *)
|
|
RHandleBase::Name()const
|
|
RHandleBase::NotifyDestruction(TRequestStatus &)
|
|
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
|
|
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
|
|
RHandleBase::RHandleBase()
|
|
RHandleBase::RHandleBase(TInt)
|
|
RHandleBase::SetHandle(TInt)
|
|
RHandleBase::SetHandleNC(TInt)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
|
|
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
|
|
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
|
|
RSessionBase::Open(TInt,TOwnerType)
|
|
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
|
|
RSessionBase::Send(TInt)const
|
|
RSessionBase::Send(TInt,const TIpcArgs &)const
|
|
RSessionBase::SendReceive(TInt)const
|
|
RSessionBase::SendReceive(TInt,TRequestStatus &)const
|
|
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
|
|
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
|
|
RSessionBase::SetReturnedHandle(TInt)
|
|
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
|
|
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
|
|
RSessionBase::ShareAuto()
|
|
RSessionBase::ShareProtected()
|
Constructor & Destructor Documentation
Member Functions Documentation
CancelTransactionL(const TDesC8 &, const TDesC8 &, TLanguage, TInt)
void
|
CancelTransactionL
|
(
|
const
TDesC8
&
|
aApplicationId,
|
|
const
TDesC8
&
|
aBrandId,
|
|
TLanguage
|
aLanguage,
|
|
TInt
|
aReserved = 0
|
|
)
|
|
Parameters
const
TDesC8
& aApplicationId
|
|
const
TDesC8
& aBrandId
|
|
TLanguage
aLanguage
|
|
TInt
aReserved = 0
|
|
CreateArgumentsL(const TDesC8 &, const TDesC8 &, TLanguage, TInt)
TIpcArgs
|
CreateArgumentsL
|
(
|
const
TDesC8
&
|
aApplicationId,
|
|
const
TDesC8
&
|
aBrandId,
|
|
TLanguage
|
aLanguage,
|
|
TInt
|
aReserved
|
|
)
|
[private]
|
Parameters
const
TDesC8
& aApplicationId
|
|
const
TDesC8
& aBrandId
|
|
TLanguage
aLanguage
|
|
TInt
aReserved
|
|
ExternalizeIdArrayL(RWriteStream &, MDesC8Array &)
GetBackupRestoreL()
TInt
|
GetBackupRestoreL
|
(
|
)
|
[private]
|
GetBackupStateL()
TInt
|
GetBackupStateL
|
(
|
)
|
[private]
|
GetBufferL(const TDesC8 &, HBufC8 *&)
GetFileL(const TDesC8 &, RFile &)
GetIntL(const TDesC8 &, TInt &)
void
|
GetIntL
|
(
|
const
TDesC8
&
|
aId,
|
|
TInt
&
|
aValue
|
|
)
|
|
GetNewVersionL()
TInt
|
GetNewVersionL
|
(
|
)
|
[private]
|
GetSeveralL(MDesC8Array &)
GetStructureL(const TDesC8 &)
GetTextL(const TDesC8 &, HBufC *&)
InitClientL(const TDesC8 &, const TDesC8 &, const TDesC8 &, TLanguage, TTransactionType, TInt)
void
|
InitClientL
|
(
|
const
TDesC8
&
|
aApplicationId,
|
|
const
TDesC8
&
|
aBrandId,
|
|
const
TDesC8
&
|
aDefaultBrandId,
|
|
TLanguage
|
aLanguage,
|
|
TTransactionType
|
aType,
|
|
TInt
|
aReserved
|
|
)
|
[private]
|
Parameters
const
TDesC8
& aApplicationId
|
|
const
TDesC8
& aBrandId
|
|
const
TDesC8
& aDefaultBrandId
|
|
TLanguage
aLanguage
|
|
TTransactionType
aType
|
|
TInt
aReserved
|
|
InternalizeElementL(RReadStream &)
RegisterObserverL(MBSBrandChangeObserver *, MBSBackupRestoreStateObserver *)
RegisterObserverToServerL(TRequestStatus &)
RemoveBrandL(const TDesC8 &, const TDesC8 &)
void
|
RemoveBrandL
|
(
|
const
TDesC8
&
|
aApplicationId,
|
|
const
TDesC8
&
|
aBrandId
|
|
)
|
|
RemoveBrandsL(const TDesC8 &)
void
|
RemoveBrandsL
|
(
|
const
TDesC8
&
|
aApplicationId
|
)
|
|
SendUpdateL(MBSElement *, TBSMessages)
void
|
SendUpdateL
|
(
|
MBSElement
*
|
aElement,
|
|
TBSMessages
|
aMessage
|
|
)
|
[private]
|
StartTransactionL(const TDesC8 &, const TDesC8 &, const TDesC8 &, TLanguage, TTransactionType, TInt)
void
|
StartTransactionL
|
(
|
const
TDesC8
&
|
aApplicationId,
|
|
const
TDesC8
&
|
aBrandId,
|
|
const
TDesC8
&
|
aDefaultBrandId,
|
|
TLanguage
|
aLanguage,
|
|
TTransactionType
|
aType,
|
|
TInt
|
aReserved = 0
|
|
)
|
|
Parameters
const
TDesC8
& aApplicationId
|
|
const
TDesC8
& aBrandId
|
|
const
TDesC8
& aDefaultBrandId
|
|
TLanguage
aLanguage
|
|
TTransactionType
aType
|
|
TInt
aReserved = 0
|
|
StopTransactionL(const TDesC8 &, const TDesC8 &, TLanguage, TInt)
TInt
|
StopTransactionL
|
(
|
const
TDesC8
&
|
aApplicationId,
|
|
const
TDesC8
&
|
aBrandId,
|
|
TLanguage
|
aLanguage,
|
|
TInt
|
aReserved = 0
|
|
)
|
|
Parameters
const
TDesC8
& aApplicationId
|
|
const
TDesC8
& aBrandId
|
|
TLanguage
aLanguage
|
|
TInt
aReserved = 0
|
|
UnRegisterObserverL(MBSBrandChangeObserver *, MBSBackupRestoreStateObserver *)
isBrandUpdateRequiredL(TInt &)
void
|
isBrandUpdateRequiredL
|
(
|
TInt
&
|
aUpdateRequired
|
)
|
|
Member Data Documentation
CBSBrandObserver * iObserver
TTransactionType
iType
TTransactionType
|
iType
|
[private]
|
TInt
isUpdateRequired
TInt
|
isUpdateRequired
|
[private]
|
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.