MSimpleWatcher Class Reference
MSimpleWatcher
SIMPLE Engine presence watcher
simpleengine
- Since
- S60 3.2
Member Functions Documentation
Close()
void | Close | ( | ) | [pure virtual] |
Connection()
Getter for the SIMPLE Engine connection.
GetPresenceL(const TDesC8 &, MSimpleFilterDocument *, TBool)
Get presence data Leaves with KErrInUse if there is already active subscription in this MSimpleWatcher entity.
Parameters
const TDesC8 & aURI | URI of entity to be subscribed |
MSimpleFilterDocument * aFilter | filter data, may be NULL. |
TBool aAnonymous | whether anonymous subscription is wanted |
SIPRetryAfter()
TUint
| SIPRetryAfter | ( | ) | [pure virtual] |
SIP Retry-after header value accessor. Get the SIP retry-fater header value of the last completed request. Refer to RFC3261, RFC3265, RFC3903.
SIPStatus()
TUint
| SIPStatus | ( | ) | [pure virtual] |
SIP Status code accessor. Get the status of the last completed request. Refer to RFC3261, RFC3265, RFC3903.
SipSubscriptionState()
SIP Subscription-state header value accessor. Get the SIP Subscription-state header value of the last NOTIFY message or ESimpleStateTerminated when the subscription is terminated by a client. Refer to RFC3265
SubscribeL(const TDesC8 &, MSimpleFilterDocument *, TBool, TBool)
Subscribe presence entity. Expiry time is set based on SIMPLE settings. Leaves with KErrInUse if there is already active subscription in this MSimpleWatcher entity.
Parameters
const TDesC8 & aURI | URI of entity to be subscribed |
MSimpleFilterDocument * aFilter | filter data, may be NULL. |
TBool aRefresh | whether refresh is made automatically |
TBool aAnonymous | whether anonymous subscription is wanted |
SubscribeListL(const TDesC8 &, MSimpleFilterDocument *, TBool, TBool)
Subscribe presence list. Expiry time is set based on SIMPLE settings. Leaves with KErrInUse if there is already active subscription in this MSimpleWatcher entity.
Parameters
const TDesC8 & aURI | URI of entity to be subscribed |
MSimpleFilterDocument * aFilter | filter data, may be NULL. |
TBool aRefresh | whether refresh is made automatically |
TBool aAnonymous | whether anonymous subscription is wanted |
UnsubscribeL()
TInt
| UnsubscribeL | ( | ) | [pure virtual] |
Unsubscribe. Leaves with KErrNotFound if there is no active subscription.
Member Enumerations Documentation
Enum TSimpleSipSubscriptionState
Enumerators
ESimpleStateNone = 0 | |
ESimpleStatePending | |
ESimpleStateActive | |
ESimpleStateTerminated | |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.