CUpnpServiceInfo Class Reference

class CUpnpServiceInfo : public CBase
Since
Series60 2.0

Inherits from

Constructor & Destructor Documentation

CUpnpServiceInfo(CUpnpControlPoint *, CUpnpService *)

CUpnpServiceInfo(CUpnpControlPoint *aControlPoint,
CUpnpService *aService
)[private]

Constructor

Parameters

CUpnpControlPoint * aControlPoint
CUpnpService * aService

~CUpnpServiceInfo()

~CUpnpServiceInfo()[virtual]

Destructor

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ConstructL

ConstructSubscribtionPathLC(const TDesC8 &, TInetAddr &)

HBufC8 *ConstructSubscribtionPathLC(const TDesC8 &aControlPointPath,
TInetAddr &aAddr
)

Parameters

const TDesC8 & aControlPointPath
TInetAddr & aAddr

CreateSubscriptionMessageL(const TDesC8 &, THTTPMsgType)

CUpnpGenaMessage *CreateSubscriptionMessageL(const TDesC8 &aPath,
THTTPMsgTypeaType
)

These functions create Gena subscription message, which will be used for data retrieval.

Parameters

const TDesC8 & aPath
THTTPMsgType aType

CreateSubscriptionMessageL(THTTPMsgType)

CUpnpGenaMessage *CreateSubscriptionMessageL(THTTPMsgTypeaType)

Parameters

THTTPMsgType aType

NewLC(CUpnpControlPoint *, CUpnpService *)

CUpnpServiceInfo *NewLC(CUpnpControlPoint *aControlPoint,
CUpnpService *aService
)[static]
Factory method
Since
Series60 3.1

Parameters

CUpnpControlPoint * aControlPointpointer to Control Point.
CUpnpService * aServiceUpnp Service

ResubscribeL()

voidResubscribeL()[private]

Seq()

TUint32 Seq()const
Get SEQ of the current service. SEQ is the sequence id of last eventing message from this service. SEQ can be inspected to observe eventing operations.
Since
Series60 2.0

Service()

CUpnpService *Service()

Getter.

SessionId()

TInt SessionId()

Getter.

SetSeq(TUint32)

voidSetSeq(TUint32aSeq)
Set SEQ
Since
Series60 2.0

Parameters

TUint32 aSeqSEQ of a event.

SetSidL(const TDesC8 &)

voidSetSidL(const TDesC8 &aSid)

Setter.

Parameters

const TDesC8 & aSid

Sid()

const TDesC8 &Sid()const

Getter.

StartTimerL(const TDesC8 &)

voidStartTimerL(const TDesC8 &aTimeout)

Starts timer

Parameters

const TDesC8 & aTimeoutsubscribtion timeout

TimerEventL(CUpnpNotifyTimer *)

voidTimerEventL(CUpnpNotifyTimer *)
Callback function used to inform about the timer events
Since
Series60 2.0

Parameters

CUpnpNotifyTimer *

Member Data Documentation

CUpnpControlPoint * iControlPoint

CUpnpControlPoint *iControlPoint[private]

CUpnpNotifyTimer * iResubscribeTimer

CUpnpNotifyTimer *iResubscribeTimer[private]

TUint32 iSeq

TUint32 iSeq[private]

CUpnpService * iService

CUpnpService *iService[private]

TInt iSessionId

TInt iSessionId[private]

HBufC8 * iSid

HBufC8 *iSid[private]

TInt iTimeOut

TInt iTimeOut[private]