CUpnpConnectionManagerProxy Class Reference

class CUpnpConnectionManagerProxy : public CBase
This class is a client handle to CUpnpConnectionManager. One should use it rather than RUpnpConnectionManagerSession directly
Since
S60 5.0

Inherits from

  • CUpnpConnectionManagerProxy

Constructor & Destructor Documentation

CUpnpConnectionManagerProxy()

CUpnpConnectionManagerProxy()[private]
Constructor.
Since
Series60 3.2

~CUpnpConnectionManagerProxy()

~CUpnpConnectionManagerProxy()[virtual]
Destructor.
Since
Series60 3.2

Member Functions Documentation

ActiveIap()

IMPORT_C TIntActiveIap()

Returns active connection IAP.

Attach(TInt)

TInt Attach(TIntaAccessPoint)[private]

Attaches connection

Parameters

TInt aAccessPoint

ConnectionL()

IMPORT_C RConnection &ConnectionL()

Returns RConnection instance. Leaves only if ensure start wasn't invoked, and internal EnsureStart call fail

ConstructL(RSocketServ &)

voidConstructL(RSocketServ &aSocketServer)[private]

By default Symbian 2nd phase constructor is private.

Parameters

RSocketServ & aSocketServer

EnsureStart()

IMPORT_C TIntEnsureStart()

After call of this method the caller is sure that RConnection was started.

GetActiveIapL()

IMPORT_C TIntGetActiveIapL()[static]

Static function for querying of active connection IAP without creating new object (it is created and closed internally)

IsStarted()

TBool IsStarted()[private]

Checks whether EnsureStart has been invoked.

LocalAddress()

IMPORT_C TInetAddrLocalAddress()

Returns active connection IP address.

NewL(RSocketServ &)

IMPORT_C CUpnpConnectionManagerProxy *NewL(RSocketServ &aSocketServer)[static]
Two-phased constructor.
Since
Series60 3.2

Parameters

RSocketServ & aSocketServer

NewLC(RSocketServ &)

IMPORT_C CUpnpConnectionManagerProxy *NewLC(RSocketServ &aSocketServer)[static]
Two-phased constructor.
Since
Series60 3.2

Parameters

RSocketServ & aSocketServer

SubscribeForNetworkEventsL(MUpnpNetworkEventObserver *)

IMPORT_C voidSubscribeForNetworkEventsL(MUpnpNetworkEventObserver *aObserver)

Subscribes for network events nitifications.

Parameters

MUpnpNetworkEventObserver * aObserver

Member Data Documentation

TInt iActiveIap

TInt iActiveIap[private]

RConnection iConnection

RConnection iConnection[private]

RUpnpConnectionManagerSession iConnectionManagerSession

RUpnpConnectionManagerSession iConnectionManagerSession[private]

CUpnpConnectionManagerNetworkEventProvider * iNetworkEventProvider

CUpnpConnectionManagerNetworkEventProvider *iNetworkEventProvider[private]