Location:
rsendas.h
Link against: sendas2.lib
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.
RHandleBase
- A handle to an object
RSessionBase
- Client-side handle to a session with a server
RSendAs
- Encapsulates a session with the SendAs Server
Defined in RSendAs
:
AvailableAccountsL()
, Connect()
, Connect()
, ESendAsBitwiseAnd
, ESendAsBitwiseNand
, ESendAsBitwiseNor
, ESendAsBitwiseOr
, ESendAsEquals
, ESendAsGreaterThan
, ESendAsLessThan
, ESendAsNoCondition
, ESendAsNotEquals
, FilterAgainstCapability()
, FilterAgainstCapability()
, FilteredMessageTypesL()
, ResetMessageFilter()
, TSendAsConditionType
Inherited from RHandleBase
:
Attributes()
,
Close()
,
Duplicate()
,
FullName()
,
Handle()
,
HandleInfo()
,
Name()
,
SetHandle()
,
SetHandleNC()
,
iHandle
Inherited from RSessionBase
:
CreateSession()
,
EAutoAttach
,
EExplicitAttach
,
Open()
,
Send()
,
SendReceive()
,
SetReturnedHandle()
,
ShareAuto()
,
ShareProtected()
,
TAttachMode
IMPORT_C TInt Connect();
Establishes a connection to the SendAs Server.
|
IMPORT_C TInt Connect(TInt aMessageSlots);
Establishes a connection to the SendAs Server.
|
|
IMPORT_C void FilteredMessageTypesL(CSendAsMessageTypes &aMessageTypeInfo);
Retrieves the connected session's available message types from the SendAs Server. This will filter all MTMs that can send messages. This list can be refined by applying filters using FilterAgainstCapability.
|
IMPORT_C TInt FilterAgainstCapability(TUid aMessageCapability);
Refines the connected session's available message types. Applying a filter will remove all mtms which do not support the supplied capability
|
|
IMPORT_C TInt FilterAgainstCapability(TUid aMessageCapability, TInt aValue, TSendAsConditionType aConditionType);
Refines the connected session's available message types. Applying a filter will remove all mtms which do not satisfy the supplied condition.
|
|
IMPORT_C TInt ResetMessageFilter();
Refreshes the connected session's available message types to all MTMs which can send messages.
|
IMPORT_C void AvailableAccountsL(TUid aMessageType, CSendAsAccounts &aAccounts);
Returns the connected session's available accounts for message types.
|
TSendAsConditionType
Defines the condition-checking of message capabilities. These are progressively added to refine the list of available MTMs.
|