MSimplePublisher Class Reference
MSimplePublisher
SIMPLE Engine presence data publisher
simpleengine
- Since
- S60 3.2
Member Functions Documentation
Close()
void | Close | ( | ) | [pure virtual] |
Connection()
Getter for the SIMPLE Engine connection.
ContinuePublishL(MSimpleDocument &, TBool, const TDesC8 &)
Continue data publication Leaves with KErrInUse if there is already active publication in this MSimplePublisher entity. Expiry time is set based on SIMPLE settings. Refreshing is made by SIMPLE Engine.
Parameters
MSimpleDocument & aDocument | data to be published |
TBool aRefresh | whether refresh is made automatically |
const TDesC8 & aETag | SIP ETag header value to be used in SIP-If-Match header. |
ModifyPublishL(MSimpleDocument &)
Update published data. This will overwrite the previous presence data. StartPublishL() must be completed before calling this method. Remote URI is not modified but taken from an initial StartPublishL document.
SIPETag()
TPtrC8
| SIPETag | ( | ) | [pure virtual] |
SIP ETag header value accessor. Refer to RFC3903.
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.
SetSIPETagObserver(MSimpleETagObserver *)
SIP ETag header value change observer setter. Notice that this value may change after each modification or automatic refresh of publication. Observer is called when the ETag value changes next time. Refer to RFC3903.
StartPublishL(MSimpleDocument &, TBool)
Start to publish data. Leaves with KErrInUse if there is already active publication in this MSimplePublisher entity. Expiry time is set based on SIMPLE settings. Refreshing is made by SIMPLE Engine.
StopPublishL()
TInt
| StopPublishL | ( | ) | [pure virtual] |
StopPublishL(const TDesC8 &)
TInt
| StopPublishL | ( | const TDesC8 & | aETag | ) | [pure virtual] |
Parameters
const TDesC8 & aETag | SIP ETag header value to be used in SIP-If-Match header. |
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.