CUpnpAction Class Reference
class CUpnpAction : public CBase
|
Used to make a common body for actions. \ This class is only used when an action is sent or received. \ This class makes a common body for actions, which can then be modified by user. \
Constructor & Destructor Documentation
CUpnpAction(CUpnpService &)
CUpnpAction
|
(
|
CUpnpService &
|
aParentService
|
)
|
[private]
|
Parameters
CUpnpService & aParentService
|
Parent service.
|
CUpnpAction()
CUpnpAction
|
(
|
)
|
[private]
|
~CUpnpAction()
IMPORT_C
|
~CUpnpAction
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddArgumentL(CUpnpArgument &)
Argument(const TDesC8 &)
Returns the argument.
-
Since
-
Series60 2.6
Parameters
const
TDesC8
& aName
|
Name of the argument.
|
ArgumentList()
Get argument list
-
Since
-
Series60 2.6
ArgumentType(const TDesC8 &)
IMPORT_C
TInt
|
ArgumentType
|
(
|
const
TDesC8
&
|
aArgumentName
|
)
|
|
Get argument tyoe
-
Since
-
Series60 2.6
Parameters
const
TDesC8
& aArgumentName
|
Name of the argument.
|
ArgumentValue(const TDesC8 &)
IMPORT_C const
TDesC8
&
|
ArgumentValue
|
(
|
const
TDesC8
&
|
aName
|
)
|
|
Modifies an existing argument of the action.
-
Since
-
Series60 2.6
Parameters
const
TDesC8
& aName
|
Name of the argument.
|
ConstructL(CUpnpAction &)
By default Symbian 2nd phase constructor is private. Adds the arguments and their default values according to the XML node
DestinationAddr()
IMPORT_C
TInetAddr
|
DestinationAddr
|
(
|
)
|
const
|
Get destination address
-
Since
-
Series60 2.6
DestinationPath()
IMPORT_C const
TDesC8
&
|
DestinationPath
|
(
|
)
|
|
Get destination path
-
Since
-
Series60 2.6
Error()
IMPORT_C
TInt
|
Error
|
(
|
)
|
const
|
Getter.
-
Since
-
Series60 2.6
Local()
IMPORT_C
TBool
|
Local
|
(
|
)
|
const
|
Returns whether an action is local, comes from local control point.
-
Since
-
Series60 2.6
Name()
Get action name
-
Since
-
Series60 2.6
NewL(const TDesC8 &)
Construct action ONLY with specified name (not completely valid object) for TEST use only.
NewL(CUpnpService &)
CUpnpAction
*
|
NewL
|
(
|
CUpnpService &
|
aParentService
|
)
|
[static]
|
Parameters
CUpnpService & aParentService
|
|
NewLC(CUpnpAction &, CUpnpService &)
Two-phased constructor for building from a XML node. Adds the arguments and their default values according to the XML node.
Sender()
IMPORT_C
TInetAddr
&
|
Sender
|
(
|
)
|
|
Get source address of sender address
-
Since
-
Series60 2.6
Service()
IMPORT_C CUpnpService &
|
Service
|
(
|
)
|
|
Get service
-
Since
-
Series60 2.6
ServiceType()
IMPORT_C
TDesC8
&
|
ServiceType
|
(
|
)
|
|
Get service type
-
Since
-
Series60 2.6
SessionId()
IMPORT_C
TInt
|
SessionId
|
(
|
)
|
const
|
Get session ID
-
Since
-
Series60 2.6
SetArgumentL(const TDesC8 &, const TDesC8 &)
Modifies an existing argument of the action.
-
Since
-
Series60 2.6
Parameters
const
TDesC8
& aName
|
the name of the argument.
|
const
TDesC8
& aValue
|
the value of the argument.
|
SetDestinationAddr(const TInetAddr &)
IMPORT_C void
|
SetDestinationAddr
|
(
|
const
TInetAddr
&
|
aAddr
|
)
|
|
Set destination address
-
Since
-
Series60 2.6
Parameters
const
TInetAddr
& aAddr
|
Destination address of the action.
|
SetDestinationPathL(const TDesC8 &)
IMPORT_C void
|
SetDestinationPathL
|
(
|
const
TDesC8
&
|
aDestination
|
)
|
|
Set destination path
-
Since
-
Series60 2.6
Parameters
const
TDesC8
& aDestination
|
Destination path of the action (destination service).
|
SetError(TInt)
IMPORT_C void
|
SetError
|
(
|
TInt
|
aError
|
)
|
|
Sets error code
-
Since
-
Series S60 3.1
SetLocal(TBool)
IMPORT_C void
|
SetLocal
|
(
|
TBool
|
aLocal
|
)
|
|
Sets the value of iLocal.
-
Since
-
Series60 2.6
Parameters
TBool
aLocal
|
new value of the iLocal parameter
|
SetNameL(const TDesC8 &)
void
|
SetNameL
|
(
|
const
TDesC8
&
|
aName
|
)
|
|
SetSender(const TInetAddr &)
IMPORT_C void
|
SetSender
|
(
|
const
TInetAddr
&
|
aSender
|
)
|
|
Set sender address
-
Since
-
Series60 2.6
Parameters
const
TInetAddr
& aSender
|
Source address of the action.
|
SetSessionId(TInt)
void
|
SetSessionId
|
(
|
TInt
|
aId
|
)
|
|
Member Data Documentation
RPointerArray< CUpnpArgument > iArguments
TInetAddr
iDestinationAddr
TInetAddr
|
iDestinationAddr
|
[private]
|
HBufC8 * iDestinationPath
HBufC8
*
|
iDestinationPath
|
[private]
|
CUpnpService & iParentService
CUpnpService &
|
iParentService
|
[private]
|
TInetAddr
iSender
TInetAddr
|
iSender
|
[private]
|
TInt
iSessionId
TInt
|
iSessionId
|
[private]
|
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.