RRsfwControl Class Reference

class RRsfwControl : public RSessionBase

Inherits from

Public Member Functions
RRsfwControl ()
IMPORT_C TInt CancelRemoteTransfer (const TDesC &)
IMPORT_C TInt Connect ()
IMPORT_C TInt DismountByDriveLetter ( TChar )
IMPORT_C TInt DismountByVolumeId ( TInt )
IMPORT_C TInt GetMountInfo (const TChar &, TRsfwMountInfo &)
IMPORT_C TInt Mount ( TInt )
IMPORT_C TInt Mount (const TRsfwMountConfig &)
IMPORT_C void Mount (const TRsfwMountConfig &, TRequestStatus &)
IMPORT_C TInt MountBlind ( TInt )
IMPORT_C TInt RefreshDirectory (const TDesC &)
IMPORT_C TInt SetMountConnectionState (const TChar &, TUint )
IMPORT_C TVersion Version ()
Private Member Functions
TInt CreateServerProcess (const TDesC &)
TInt SendRequest ( TInt , TIpcArgs )
void SendRequest ( 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_C RRsfwControl ( )

Constructor.

Member Functions Documentation

CancelRemoteTransfer(const TDesC &)

IMPORT_C TInt CancelRemoteTransfer ( const TDesC & aFile )

Cancels an active remote file upload or download

Parameters

const TDesC & aFile file name

Connect()

IMPORT_C TInt Connect ( )
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 TInt DismountByDriveLetter ( TChar aDriveLetter )
Dismount a remote drive by referring to the drive letter
Since
Series 60 3.1

Parameters

TChar aDriveLetter drive letter (can be found in TRsfwMountInfo)

DismountByVolumeId(TInt)

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

Parameters

TInt aVolumeId volume identifier (can be found in TRsfwMountInfo)

GetMountInfo(const TChar &, TRsfwMountInfo &)

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

Parameters

const TChar & aDriveLetter drive letter.
TRsfwMountInfo & aMountInfo to be filled.

Mount(TInt)

IMPORT_C TInt Mount ( TInt aDriveLetter )
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 TInt Mount ( const TRsfwMountConfig & aMountConfig )
Mount a remote drive - synchronous version
Since
Series 60 3.1

Parameters

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

Mount(const TRsfwMountConfig &, TRequestStatus &)

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

Parameters

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

MountBlind(TInt)

IMPORT_C TInt MountBlind ( TInt aDriveLetter )
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 TInt RefreshDirectory ( 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 & aPath the remote path

SendRequest(TInt, TIpcArgs)

TInt SendRequest ( TInt aOpCode,
TIpcArgs aArgs
) [private]

Parameters

TInt aOpCode
TIpcArgs aArgs

SendRequest(TInt, TIpcArgs, TRequestStatus &)

void SendRequest ( TInt aOpCode,
TIpcArgs aArgs,
TRequestStatus & aStatus
) [private]

Parameters

TInt aOpCode
TIpcArgs aArgs
TRequestStatus & aStatus

SetMountConnectionState(const TChar &, TUint)

IMPORT_C TInt SetMountConnectionState ( const TChar & aDriveLetter,
TUint aState
)
Set mount connection state
Since
Series 60 3.1

Parameters

const TChar & aDriveLetter drive letter.
TUint aState connection state: KMountStronglyConnected or KMountNotConnected.

StartServer(const TDesC &)

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

Parameters

const TDesC & aServerName

Version()

IMPORT_C TVersion Version ( )
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]