RUpnpSecurityManagerClientSession Class Reference

class RUpnpSecurityManagerClientSession : public RUpnpSessionBase

Client session to UPnP Security Manager

upnpsecuritymanagerclient

Inherits from

Public Member Functions
RUpnpSecurityManagerClientSession()
IMPORT_C voidAddAddressL(const TInetAddr &)
IMPORT_C voidAddFileL(const TDesC &)
IMPORT_C TAccessTypeCheckAuthorizationL(const TInetAddr &, const TDesC &)
IMPORT_C TIntConnect()
IMPORT_C TAccessTypeQueryAuthorisationL(const TInetAddr &)
IMPORT_C voidRemoveAddressL(const TInetAddr &)
IMPORT_C voidRemoveFileL(const TDesC &)
IMPORT_C voidResetAddressListL()
IMPORT_C voidResetFileListL()
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_CRUpnpSecurityManagerClientSession()

Constructor.

Member Functions Documentation

AddAddressL(const TInetAddr &)

IMPORT_C voidAddAddressL(const TInetAddr &aIpAddress)

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

Parameters

const TInetAddr & aIpAddresscontaining IP Address of the remote party

AddFileL(const TDesC &)

IMPORT_C voidAddFileL(const TDesC &aFileName)

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

Parameters

const TDesC & aFileNamefile path+name to new allowed file

CheckAuthorizationL(const TInetAddr &, const TDesC &)

IMPORT_C TAccessTypeCheckAuthorizationL(const TInetAddr &aIpAddress,
const TDesC &aFileName
)

Checks if ipAddress and file exist on access list

Parameters

const TInetAddr & aIpAddressIP Address
const TDesC & aFileNamepath+name to file

Connect()

IMPORT_C TIntConnect()

Establish connection with server

QueryAuthorisationL(const TInetAddr &)

IMPORT_C TAccessTypeQueryAuthorisationL(const TInetAddr &aIpAdress)

Checks if ipAddress and file exist on access list

Parameters

const TInetAddr & aIpAdress

RemoveAddressL(const TInetAddr &)

IMPORT_C voidRemoveAddressL(const TInetAddr &aIpAddress)

Removes address from allowed array

Parameters

const TInetAddr & aIpAddresscontaining IP Address to be removed

RemoveFileL(const TDesC &)

IMPORT_C voidRemoveFileL(const TDesC &aFileName)

Removes file from allowed array

Parameters

const TDesC & aFileNameFile path+name to file to be removed

ResetAddressListL()

IMPORT_C voidResetAddressListL()

Resets address access list

ResetFileListL()

IMPORT_C voidResetFileListL()

Resets file access list