CSensrvSession Class Reference
class CSensrvSession : public CSession2 |
Represents a session for a client thread on the server-side. A session acts as a channel of communication between the client and the server.
Constructor & Destructor Documentation
CSensrvSession(CSensrvServer &, CSensrvProxyManager &, TSecureId)
~CSensrvSession()
~CSensrvSession | ( | ) | [virtual] |
Member Functions Documentation
CompleteChangeNotificationMessage(const TSensrvResourceChannelInfo &, TSensrvChannelChangeType)
Completes asynchronous change notification message. Message must exist and have valid handle
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
NewL(CSensrvServer &, CSensrvProxyManager &, TSecureId)
NotifyChannelChange(const TSensrvResourceChannelInfo &, TSensrvChannelChangeType)
Notifies client if it is interested in channel change notifications
Parameters
const TSensrvResourceChannelInfo & aChangedChannel | Channel information of the channel. |
TSensrvChannelChangeType aChangeType | If ESensrvChannelAdded, channel is a newly available channel. If ESensrvChannelRemoved, channel was removed and is no longer available. |
SecureId()
Get the Secure ID of the client process.
ServiceL(const RMessage2 &)
void | ServiceL | ( | const RMessage2 & | aMessage | ) | [protected, virtual] |
Parameters
const RMessage2 & aMessage | The message containing the client request |
Member Data Documentation
CSensrvMessage * iAsyncChannelChangeMessage
Reuse channel change messages to improve cleanup and performance. Own
CSensrvMessage * iAsyncConditionMessage
Reuse condition listening messages to improve cleanup and performance. Own
CSensrvMessage * iAsyncDataMessage
Reuse data listening messages to improve cleanup and performance. Own
CSensrvMessage * iAsyncPropertyMessage
Reuse property listening messages to improve cleanup and performance. Own
CSensrvChannelChangeQueue * iChannelChangeQueue
Queue for channel change notifications. Own
TSensrvResourceChannelInfo
iChannelChangeSearchParams
Search params of the active channel change notification.
CSensrvProxyManager & iProxyManager
Proxy manager reference. Not own.
TSecureId
iSecureId
Secure ID of the process which has been created this session.
CSensrvServer & iServer
Server reference. Not own.
CSensrvMessage * iSyncMessage
Reuse synchronous messages to improve OOM cleanup. Own
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.