CUpnpFileTransferEvent Class Reference

class CUpnpFileTransferEvent : public CUpnpMediaServerEvent

Class encapsulates file transfer message

MediaServerClient.lib
Since
S60 v3.1

Inherits from

Constructor & Destructor Documentation

CUpnpFileTransferEvent()

CUpnpFileTransferEvent()[private]

Constructor.

~CUpnpFileTransferEvent()

~CUpnpFileTransferEvent()[virtual]

Destructor.

Member Functions Documentation

CloneL()

IMPORT_C CUpnpFileTransferEvent *CloneL()
Sets error code
Since
Series 60 3.1

ConstructL()

voidConstructL()[private]

By default Symbian 2nd phase constructor is private.

ContentDirectoryObjectId()

IMPORT_C TIntContentDirectoryObjectId()
Gets content directory object identifier associated with transfer
Since
Series 60 3.1

Direction()

IMPORT_C TDirectionDirection()
Gets transfer direction
Since
Series 60 3.1

ErrorCode()

IMPORT_C TIntErrorCode()
Gets error code
Since
Series 60 3.1

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aStream)const [virtual]
Externalizes transfer event information to a stream. Leaves in case of errors.
Since
Series 60 3.1

Parameters

RWriteStream & aStream

FilePath()

IMPORT_C TDesC &FilePath()
Gets file path
Since
Series 60 3.1

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aStream)[virtual]
Internalizes transfer event information from a stream. Leaves in case of errors.
Since
Series 60 3.1

Parameters

RReadStream & aStream

NewL()

IMPORT_C CUpnpFileTransferEvent *NewL()[static]

Two-phased constructor.

NewLC()

IMPORT_C CUpnpFileTransferEvent *NewLC()[static]

Two-phased constructor.

ProgressState()

IMPORT_C TProgressStateProgressState()
Gets progress state of transfer
Since
Series 60 3.1

SetContentDirectoryObjectId(TInt)

IMPORT_C voidSetContentDirectoryObjectId(TIntaObjectId)
Sets content directory object identifier associated with transfer
Since
Series 60 3.1

Parameters

TInt aObjectIdobject identifier

SetDirection(TDirection)

IMPORT_C voidSetDirection(TDirectionaState)
Sets transfer direction
Since
Series 60 3.1

Parameters

TDirection aStateprogress state

SetErrorCode(TInt)

IMPORT_C voidSetErrorCode(TIntaError)
Sets error code
Since
Series 60 3.1

Parameters

TInt aErrortransport specific error code

SetFilePathL(const TDesC &)

IMPORT_C voidSetFilePathL(const TDesC &aFile)
Gets file path
Since
Series 60 3.1

Parameters

const TDesC & aFilefile path

SetProgressState(TProgressState)

IMPORT_C voidSetProgressState(TProgressStateaState)
Sets progress state of transfer
Since
Series 60 3.1

Parameters

TProgressState aStateprogress state

SetTransferId(TInt)

IMPORT_C voidSetTransferId(TIntaTransferId)
Sets transfer identifier
Since
Series 60 3.1

Parameters

TInt aTransferIdtransfer identifier

TransferId()

IMPORT_C TIntTransferId()
Gets content transfer identifier
Since
Series 60 3.1

Member Enumerations Documentation

Enum TDirection

Enumerators

EIncoming
EOutgoing

Enum TProgressState

Enumerators

EStarted
ECompleted
EFailed
EStopped

Member Data Documentation

TInt iContentDirectoryObjectId

TInt iContentDirectoryObjectId[private]

TInt iDirection

TInt iDirection[private]

TInt iErrorCode

TInt iErrorCode[private]

HBufC * iFilePath

HBufC *iFilePath[private]

TInt iProgress

TInt iProgress[private]

TInt iTransferId

TInt iTransferId[private]