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()

void ConstructL ( ) [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,
THTTPMsgType aType
)

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

Parameters

const TDesC8 & aPath
THTTPMsgType aType

CreateSubscriptionMessageL(THTTPMsgType)

CUpnpGenaMessage * CreateSubscriptionMessageL ( THTTPMsgType aType )

Parameters

THTTPMsgType aType

NewLC(CUpnpControlPoint *, CUpnpService *)

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

Parameters

CUpnpControlPoint * aControlPoint pointer to Control Point.
CUpnpService * aService Upnp Service

ResubscribeL()

void ResubscribeL ( ) [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)

void SetSeq ( TUint32 aSeq )
Set SEQ
Since
Series60 2.0

Parameters

TUint32 aSeq SEQ of a event.

SetSidL(const TDesC8 &)

void SetSidL ( const TDesC8 & aSid )

Setter.

Parameters

const TDesC8 & aSid

Sid()

const TDesC8 & Sid ( ) const

Getter.

StartTimerL(const TDesC8 &)

void StartTimerL ( const TDesC8 & aTimeout )

Starts timer

Parameters

const TDesC8 & aTimeout subscribtion timeout

TimerEventL(CUpnpNotifyTimer *)

void TimerEventL ( 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]