RUpnpSecurityManagerClientSession Class Reference

class RUpnpSecurityManagerClientSession : public RUpnpSessionBase

Client session to UPnP Security Manager

upnpsecuritymanagerclient

Inherits from

Public Member Functions
RUpnpSecurityManagerClientSession ()
IMPORT_C void AddAddressL (const TInetAddr &)
IMPORT_C void AddFileL (const TDesC &)
IMPORT_C TAccessType CheckAuthorizationL (const TInetAddr &, const TDesC &)
IMPORT_C TInt Connect ()
IMPORT_C TAccessType QueryAuthorisationL (const TInetAddr &)
IMPORT_C void RemoveAddressL (const TInetAddr &)
IMPORT_C void RemoveFileL (const TDesC &)
IMPORT_C void ResetAddressListL ()
IMPORT_C void ResetFileListL ()
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
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RUpnpSecurityManagerClientSession()

IMPORT_C RUpnpSecurityManagerClientSession ( )

Constructor.

Member Functions Documentation

AddAddressL(const TInetAddr &)

IMPORT_C void AddAddressL ( const TInetAddr & aIpAddress )

Adds new address to allowed address array, if not existing yet

Parameters

const TInetAddr & aIpAddress containing IP Address of the remote party

AddFileL(const TDesC &)

IMPORT_C void AddFileL ( const TDesC & aFileName )

Adds new file to allowed file array, if not existing yet

Parameters

const TDesC & aFileName file path+name to new allowed file

CheckAuthorizationL(const TInetAddr &, const TDesC &)

IMPORT_C TAccessType CheckAuthorizationL ( const TInetAddr & aIpAddress,
const TDesC & aFileName
)

Checks if ipAddress and file exist on access list

Parameters

const TInetAddr & aIpAddress IP Address
const TDesC & aFileName path+name to file

Connect()

IMPORT_C TInt Connect ( )

Establish connection with server

QueryAuthorisationL(const TInetAddr &)

IMPORT_C TAccessType QueryAuthorisationL ( const TInetAddr & aIpAdress )

Checks if ipAddress and file exist on access list

Parameters

const TInetAddr & aIpAdress

RemoveAddressL(const TInetAddr &)

IMPORT_C void RemoveAddressL ( const TInetAddr & aIpAddress )

Removes address from allowed array

Parameters

const TInetAddr & aIpAddress containing IP Address to be removed

RemoveFileL(const TDesC &)

IMPORT_C void RemoveFileL ( const TDesC & aFileName )

Removes file from allowed array

Parameters

const TDesC & aFileName File path+name to file to be removed

ResetAddressListL()

IMPORT_C void ResetAddressListL ( )

Resets address access list

ResetFileListL()

IMPORT_C void ResetFileListL ( )

Resets file access list