| class CUpnpCommand : public CBase |
UpnpCommand ECom plugin interface definition.
| Public Member Functions | |
|---|---|
| ~CUpnpCommand () | |
| void | AllocateResourcesL () |
| TInt32 | DtorKeyOffset () |
| void | ExecuteL () |
| const TDesC & | File ( TInt ) |
| TInt | FileCount () |
| TBool | IsAvailableL () |
| TBool | IsAvailableL ( UpnpCommand::TUpnpCommandId ) |
| const TDesC & | Parameter ( UpnpCommand::TUpnpParameterType ) |
| void | PushFileL (const TDesC &) |
| void | ReleaseResources () |
| void | ResetFiles () |
| void | ResetParameters () |
| void | SetCommandIdL ( UpnpCommand::TUpnpCommandId ) |
| void | SetObserver ( MUpnpCommandCallback *) |
| void | SetParameterL ( UpnpCommand::TUpnpParameterType , const TDesC &) |
| UpnpCommand::TUpnpCommandState | State () |
| Private Attributes | |
|---|---|
| TUid | iDtor_ID_Key |
| void | AllocateResourcesL | ( | ) | [pure virtual] |
Allocates the Upnp Framework resources.
| TInt32 | DtorKeyOffset | ( | ) | [static, inline] |
the DtorKey offset to pass in REComSession::CreateImplementationL
| void | ExecuteL | ( | ) | [pure virtual] |
Executes the command. If Upnp Framework resources are not yet allocated, they are allocated.
| const TDesC & | File | ( | TInt | aIndex | ) | [pure virtual] |
Returns a file in the file pipe
| TInt aIndex | index of the file in pipe |
| TBool | IsAvailableL | ( | ) | [pure virtual] |
Checks if this command is available for execution.
| TBool | IsAvailableL | ( | UpnpCommand::TUpnpCommandId | aCommandId | ) | [pure virtual] |
Checks if given command is available for execution.
| UpnpCommand::TUpnpCommandId aCommandId | (UpnpCommand::TUpnpCommandId) the command ID |
| const TDesC & | Parameter | ( | UpnpCommand::TUpnpParameterType | aParamType | ) | [pure virtual] |
Returns a parameter, either set by client or returned as an out parameter after command execution
| UpnpCommand::TUpnpParameterType aParamType | (UpnpCommand::TUpnpParameterType) |
| void | PushFileL | ( | const TDesC & | aParam | ) | [pure virtual] |
Pushes one file into the file pipe.
| const TDesC & aParam |
| void | ReleaseResources | ( | ) | [pure virtual] |
Releases the Upnp Framework resources. Stops command execution if it is ongoing.
| void | SetCommandIdL | ( | UpnpCommand::TUpnpCommandId | aCommandId | ) | [pure virtual] |
Sets the command identity.
| UpnpCommand::TUpnpCommandId aCommandId | (UpnpCommand::TUpnpCommandId) the command ID |
| void | SetObserver | ( | MUpnpCommandCallback * | aCallback | ) | [pure virtual] |
Sets the observer.
| MUpnpCommandCallback * aCallback | The callback interface |
| void | SetParameterL | ( | UpnpCommand::TUpnpParameterType | aParamType, |
| const TDesC & | aParamValue | |||
| ) | [pure virtual] | |||
Sets a parameter.
Leaves if the given param type or value is not valid.
| UpnpCommand::TUpnpParameterType aParamType | parameter category |
| const TDesC & aParamValue | (const TDesC&) parameter value |
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.