RRsfwControl Class Reference

class RRsfwControl : public RSessionBase

Inherits from

Public Member Functions
RRsfwControl()
IMPORT_C TIntCancelRemoteTransfer(const TDesC &)
IMPORT_C TIntConnect()
IMPORT_C TIntDismountByDriveLetter(TChar)
IMPORT_C TIntDismountByVolumeId(TInt)
IMPORT_C TIntGetMountInfo(const TChar &, TRsfwMountInfo &)
IMPORT_C TIntMount(TInt)
IMPORT_C TIntMount(const TRsfwMountConfig &)
IMPORT_C voidMount(const TRsfwMountConfig &, TRequestStatus &)
IMPORT_C TIntMountBlind(TInt)
IMPORT_C TIntRefreshDirectory(const TDesC &)
IMPORT_C TIntSetMountConnectionState(const TChar &, TUint)
IMPORT_C TVersionVersion()
Private Member Functions
TInt CreateServerProcess(const TDesC &)
TInt SendRequest(TInt, TIpcArgs)
voidSendRequest(TInt, TIpcArgs, TRequestStatus &)
TInt StartServer(const TDesC &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
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()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TIpcArgs iArgs
TPckgBuf< TRsfwMountConfig >iPckgBufMountConfig
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RRsfwControl()

IMPORT_CRRsfwControl()

Constructor.

Member Functions Documentation

CancelRemoteTransfer(const TDesC &)

IMPORT_C TIntCancelRemoteTransfer(const TDesC &aFile)

Cancels an active remote file upload or download

Parameters

const TDesC & aFilefile name

Connect()

IMPORT_C TIntConnect()
Connect to the server and create a session.
Since
Series 60 3.1

CreateServerProcess(const TDesC &)

TInt CreateServerProcess(const TDesC &aServerName)[private, static]

Parameters

const TDesC & aServerName

DismountByDriveLetter(TChar)

IMPORT_C TIntDismountByDriveLetter(TCharaDriveLetter)
Dismount a remote drive by referring to the drive letter
Since
Series 60 3.1

Parameters

TChar aDriveLetterdrive letter (can be found in TRsfwMountInfo)

DismountByVolumeId(TInt)

IMPORT_C TIntDismountByVolumeId(TIntaVolumeId)
Dismount a remote drive by referring to the id of the volume in RFE
Since
Series 60 3.1

Parameters

TInt aVolumeIdvolume identifier (can be found in TRsfwMountInfo)

GetMountInfo(const TChar &, TRsfwMountInfo &)

IMPORT_C TIntGetMountInfo(const TChar &aDriveLetter,
TRsfwMountInfo &aMountInfo
)
Get information about the specified drive
Since
Series 60 3.1

Parameters

const TChar & aDriveLetterdrive letter.
TRsfwMountInfo & aMountInfoto be filled.

Mount(TInt)

IMPORT_C TIntMount(TIntaDriveLetter)
Mount a remote drive - synchronous version
Since
Series 60 3.1

Parameters

TInt aDriveLetter- letter of the drive to be mounted

Mount(const TRsfwMountConfig &)

IMPORT_C TIntMount(const TRsfwMountConfig &aMountConfig)
Mount a remote drive - synchronous version
Since
Series 60 3.1

Parameters

const TRsfwMountConfig & aMountConfigmount configuration information The following TRsfwMountConfig::iFlags are used in this function: KMountFlagOffLine mount in disconnected mode

Mount(const TRsfwMountConfig &, TRequestStatus &)

IMPORT_C voidMount(const TRsfwMountConfig &aMountConfig,
TRequestStatus &aStatus
)
Mount a remote drive - asynchronous version
Since
Series 60 3.1

Parameters

const TRsfwMountConfig & aMountConfigmount configuration information The following TRsfwMountConfig::iFlags are used in this function: KMountFlagOffLine mount in disconnected mode
TRequestStatus & aStatusreturned status code.

MountBlind(TInt)

IMPORT_C TIntMountBlind(TIntaDriveLetter)
Mount a remote drive - "blind request" version
Since
Series 60 3.1

Parameters

TInt aDriveLetter- letter of the drive to be mounted

RefreshDirectory(const TDesC &)

IMPORT_C TIntRefreshDirectory(const TDesC &aPath)

Refresh a remote directory

Ensures that contents of a remote directory are up to date. Synchronous variant deletes the currently cached version. Note that this function intentionally does not return directory contents. All data should be read through the File Server instead.

Parameters

const TDesC & aPaththe remote path

SendRequest(TInt, TIpcArgs)

TInt SendRequest(TIntaOpCode,
TIpcArgsaArgs
)[private]

Parameters

TInt aOpCode
TIpcArgs aArgs

SendRequest(TInt, TIpcArgs, TRequestStatus &)

voidSendRequest(TIntaOpCode,
TIpcArgsaArgs,
TRequestStatus &aStatus
)[private]

Parameters

TInt aOpCode
TIpcArgs aArgs
TRequestStatus & aStatus

SetMountConnectionState(const TChar &, TUint)

IMPORT_C TIntSetMountConnectionState(const TChar &aDriveLetter,
TUintaState
)
Set mount connection state
Since
Series 60 3.1

Parameters

const TChar & aDriveLetterdrive letter.
TUint aStateconnection state: KMountStronglyConnected or KMountNotConnected.

StartServer(const TDesC &)

TInt StartServer(const TDesC &aServerName)[private, static]

Parameters

const TDesC & aServerName

Version()

IMPORT_C TVersionVersion()
Get the server version number.
Since
Series 60 3.1

Member Data Documentation

TIpcArgs iArgs

TIpcArgs iArgs[private]

TPckgBuf< TRsfwMountConfig > iPckgBufMountConfig

TPckgBuf< TRsfwMountConfig >iPckgBufMountConfig[private]