CUpnpCommand Class Reference
class CUpnpCommand : public CBase |
UpnpCommand ECom plugin interface definition.
Constructor & Destructor Documentation
~CUpnpCommand()
~CUpnpCommand | ( | ) | [inline, virtual] |
Member Functions Documentation
AllocateResourcesL()
void | AllocateResourcesL | ( | ) | [pure virtual] |
Allocates the Upnp Framework resources.
DtorKeyOffset()
TInt32
| DtorKeyOffset | ( | ) | [static, inline] |
ExecuteL()
void | ExecuteL | ( | ) | [pure virtual] |
Executes the command. If Upnp Framework resources are not yet allocated, they are allocated.
File(TInt)
Returns a file in the file pipe
Parameters
TInt aIndex | index of the file in pipe |
FileCount()
TInt
| FileCount | ( | ) | [pure virtual] |
number of files in the file pipe
IsAvailableL()
TBool
| IsAvailableL | ( | ) | [pure virtual] |
Checks if this command is available for execution.
IsAvailableL(UpnpCommand::TUpnpCommandId)
Checks if given command is available for execution.
Parameter(UpnpCommand::TUpnpParameterType)
Returns a parameter, either set by client or returned as an out parameter after command execution
PushFileL(const TDesC &)
void | PushFileL | ( | const TDesC & | aParam | ) | [pure virtual] |
Pushes one file into the file pipe.
ReleaseResources()
void | ReleaseResources | ( | ) | [pure virtual] |
Releases the Upnp Framework resources. Stops command execution if it is ongoing.
ResetFiles()
void | ResetFiles | ( | ) | [pure virtual] |
Resets files in the file pipe
ResetParameters()
void | ResetParameters | ( | ) | [pure virtual] |
Resets all parameter values
SetCommandIdL(UpnpCommand::TUpnpCommandId)
Sets the command identity.
SetObserver(MUpnpCommandCallback *)
SetParameterL(UpnpCommand::TUpnpParameterType, const TDesC &)
Sets a parameter.
Leaves if the given param type or value is not valid.
State()
Returns the state of the command
Member Data Documentation
TUid
iDtor_ID_Key
TUid
| iDtor_ID_Key | [private] |
ECom instance identifier key.
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.