RSendAs Class Reference

class RSendAs : public RSessionBase

Encapsulates a session with the SendAs Server.

This class allows a user to determine the message types available to the SendAs server and also provides functionality for clients to filter this list to find the UIDs required to create messages.

Inherits from

Public Member Functions
IMPORT_C voidAvailableAccountsL(TUid, CSendAsAccounts &)
IMPORT_C TIntConnect()
IMPORT_C TIntConnect(TInt)
IMPORT_C TIntFilterAgainstCapability(TUid)
IMPORT_C TIntFilterAgainstCapability(TUid, TInt, TSendAsConditionType)
IMPORT_C voidFilteredMessageTypesL(CSendAsMessageTypes &)
IMPORT_C TIntResetMessageFilter()
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()
Public Member Enumerations
enumTSendAsConditionType {
ESendAsNoCondition, ESendAsEquals, ESendAsNotEquals, ESendAsGreaterThan, ESendAsLessThan, ESendAsBitwiseAnd, ESendAsBitwiseOr, ESendAsBitwiseNand, ESendAsBitwiseNor
}
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TAny *iAny
Inherited Attributes
RHandleBase::iHandle

Member Functions Documentation

AvailableAccountsL(TUid, CSendAsAccounts &)

IMPORT_C voidAvailableAccountsL(TUidaMessageType,
CSendAsAccounts &aAccounts
)

Parameters

TUid aMessageType
CSendAsAccounts & aAccounts

Connect()

IMPORT_C TIntConnect()

Connect(TInt)

IMPORT_C TIntConnect(TIntaMessageSlots)

Parameters

TInt aMessageSlots

FilterAgainstCapability(TUid)

IMPORT_C TIntFilterAgainstCapability(TUidaMessageCapability)

Parameters

TUid aMessageCapability

FilterAgainstCapability(TUid, TInt, TSendAsConditionType)

IMPORT_C TIntFilterAgainstCapability(TUidaMessageCapability,
TIntaValue,
TSendAsConditionTypeaConditionType
)

Parameters

TUid aMessageCapability
TInt aValue
TSendAsConditionType aConditionType

FilteredMessageTypesL(CSendAsMessageTypes &)

IMPORT_C voidFilteredMessageTypesL(CSendAsMessageTypes &aMessageTypeInfo)

Parameters

CSendAsMessageTypes & aMessageTypeInfo

ResetMessageFilter()

IMPORT_C TIntResetMessageFilter()

Member Enumerations Documentation

Enum TSendAsConditionType

Defines the condition-checking of message capabilities. These are progressively added to refine the list of available MTMs.

Enumerators

ESendAsNoCondition

No MTMs are removed as a result of applying this condition to the filtering.

ESendAsEquals

Only MTMs whose capabilities match the given value will remain as a result of applying this condition to the filtering.

ESendAsNotEquals

Only MTMs whose capabilities do not match the given value will remain as a result of applying this condition to the filtering.

ESendAsGreaterThan

Only MTMs whose capabilities greater than the given value will remain as a result of applying this condition to the filtering.

ESendAsLessThan

Only MTMs whose capabilities less than the given value will remain as a result of applying this condition to the filtering.

ESendAsBitwiseAnd

Only MTMs whose capabilities result non-zero value when bitwise ANDed with the given value will remain as a result of applying this condition to the filtering.

ESendAsBitwiseOr

Only MTMs whose capabilities result non-zero value when bitwise ORed with the given value will remain as a result of applying this condition to the filtering.

ESendAsBitwiseNand

Only MTMs whose capabilities result non-zero value when bitwise NANDed with the given value will remain as a result of applying this condition to the filtering.

ESendAsBitwiseNor

Only MTMs whose capabilities result non-zero value when bitwise NORed with the given value will remain as a result of applying this condition to the filtering.

Member Data Documentation

TAny * iAny

TAny *iAny[private]