MSimpleConnection Class Reference

class MSimpleConnection

MSimpleConnection

SIMPLE engine connection

simpleengine
Since
S60 v3.2
Public Member Functions
voidClose()
TSimpleState ConnectionStatus()
TPtrC8 CurrentSIPIdentityL()
TInt LoginL()
TInt LoginL(TInt)
Public Member Enumerations
enumTSimpleState { EIdle = 1, EActive, ESuspend, EInactive, EUnavailable }

Member Functions Documentation

Close()

voidClose()[pure virtual]

Destroy this entity

Since
S60 3.2

ConnectionStatus()

TSimpleState ConnectionStatus()[pure virtual]

Getter for the connection staus.

Since
S60 3.2

CurrentSIPIdentityL()

TPtrC8 CurrentSIPIdentityL()[pure virtual]

Current SIP identity accessor

Since
S60 3.2

LoginL()

TInt LoginL()[pure virtual]
Login using default SIP Profile settings and SIMPLE Engine default values instead of given Presence Settings This method is meant mainly for testing purposes. Leaves KErrAlreadyExists if this MSimpleConnection entity is already logged in.
Since
S60 3.2

LoginL(TInt)

TInt LoginL(TIntaId)[pure virtual]
Login using specified Presence Settings Leaves KErrAlreadyExists if this MSimpleConnection entity is already logged in. Leaves KErrNotFound if specified settings are not found.
Since
S60 3.2

Parameters

TInt aIdPresence Settings id

Member Enumerations Documentation

Enum TSimpleState

Enumerators

EIdle = 1

Connection initializing

EActive

Connection active

ESuspend

Connection suspended

EInactive

Connection is inactive

EUnavailable

Connection is permanently unavailable