RUpnpConnectionManagerSession Class Reference

class RUpnpConnectionManagerSession : public RUpnpSessionBase

Client session to UPnP Connection Manager

upnpconnectionmanagersession

Since
S60 5.0

Inherits from

Public Member Functions
RUpnpConnectionManagerSession()
TInt Connect()
TInt RequestActiveIap()
voidRequestCancelSubscribeToNetworkEvents()
TInt RequestEnsureStartRConnection(TInt &)
voidRequestIsRConnectionStarted(TBool &)
TInetAddr RequestLocalAddress()
voidRequestSubscribeToNetworkEvents(TRequestStatus &, TUpnpConnectionManagerNetworkEvent &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::Close()
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
RUpnpSessionBase::Connect(const TDesC &,TVersion,TInt,TInt,const TDesC &,TUid)
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TPtr8 iNetworkEventParameter
TPtr8 iParameter0
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RUpnpConnectionManagerSession()

RUpnpConnectionManagerSession()

Constructor.

Member Functions Documentation

Connect()

TInt Connect()

Establish connection with server

RequestActiveIap()

TInt RequestActiveIap()

Get current iap

RequestCancelSubscribeToNetworkEvents()

voidRequestCancelSubscribeToNetworkEvents()

Cancel subscribtion for network event

RequestEnsureStartRConnection(TInt &)

TInt RequestEnsureStartRConnection(TInt &aResult)

Start RConnection if not started, otherwise do nothing

Parameters

TInt & aResulterror code

RequestIsRConnectionStarted(TBool &)

voidRequestIsRConnectionStarted(TBool &aResult)

Can be used to check whether RConnection has been started

Parameters

TBool & aResult

RequestLocalAddress()

TInetAddr RequestLocalAddress()

Get current address

RequestSubscribeToNetworkEvents(TRequestStatus &, TUpnpConnectionManagerNetworkEvent &)

voidRequestSubscribeToNetworkEvents(TRequestStatus &aStatus,
TUpnpConnectionManagerNetworkEvent &aNetworkEvent
)

Subscribes to network event

Parameters

TRequestStatus & aStatussubscribtion connection
TUpnpConnectionManagerNetworkEvent & aNetworkEventnetwork event

Member Data Documentation

TPtr8 iNetworkEventParameter

TPtr8 iNetworkEventParameter[private]

Pointer for the network event

TPtr8 iParameter0

TPtr8 iParameter0[private]

Pointer for the first parameter