RCbsMcnSession Class Reference
class RCbsMcnSession : public RSessionBase |
This class represents a MCN session to the CBS server.
Inherited Functions |
---|
| RHandleBase::Attributes()const |
| RHandleBase::BTraceId()const |
| RHandleBase::DoExtendedClose() |
| RHandleBase::Duplicate(const RThread &,TOwnerType) |
| RHandleBase::FullName()const |
| RHandleBase::FullName(TDes &)const |
| RHandleBase::Handle()const |
| RHandleBase::HandleInfo(THandleInfo *) |
| RHandleBase::Name()const |
| RHandleBase::NotifyDestruction(TRequestStatus &) |
| RHandleBase::Open(const TFindHandleBase &,TOwnerType) |
| RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt) |
| RHandleBase::RHandleBase() |
| RHandleBase::RHandleBase(TInt) |
| RHandleBase::SetHandle(TInt) |
| RHandleBase::SetHandleNC(TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt) |
| RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *) |
| RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *) |
| RSessionBase::Open(RMessagePtr2,TInt,TOwnerType) |
| RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Open(TInt,TOwnerType) |
| RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType) |
| RSessionBase::Send(TInt)const |
| RSessionBase::Send(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt)const |
| RSessionBase::SendReceive(TInt,TRequestStatus &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &)const |
| RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const |
| RSessionBase::SetReturnedHandle(TInt) |
| RSessionBase::SetReturnedHandle(TInt,RHandleBase &) |
| RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &) |
| RSessionBase::ShareAuto() |
| RSessionBase::ShareProtected() |
Constructor & Destructor Documentation
RCbsMcnSession(const RCbsMcnSession &)
Member Functions Documentation
ClearSubscriptionsL()
void | ClearSubscriptionsL | ( | ) | |
Clears all topic subscriptions of this session in CbsServer.
Leaves if server reports an error.
Close()
Closes the connection with CbsServer.
Connect()
Establishes a connection with CbsServer.
GetCellInfo(TDes &)
TInt
| GetCellInfo | ( | TDes & | aMcnMessage | ) | const |
Retrieves the current MCN message from CBS server. An arriving MCN message always overwrites the previous one in CBS server, no buffering is done.
Parameters
TDes & aMcnMessage | Returns the current MCN message. |
GetInfoMessage(TDes &, const TInt)
TInt
| GetInfoMessage | ( | TDes & | aMessage, |
| const TInt | aTopicNumber |
| ) | const |
Retrieves the current info message from CBS server.
Parameters
TDes & aMessage | Returns the current info message from the specified topic. |
const TInt aTopicNumber | Number of the topic that the msg belongs to. |
ReadMcnMessage(TRequestStatus &, TPckg< TCbsMcnMessage > &)
Request next subscribed MCN message to be delivered to this session. Passed to the subsession object.
The delivered message will be copied into aBuffer.
ReadMcnMessageCancel()
TInt
| ReadMcnMessageCancel | ( | ) | |
Cancels an outstanding request. Passed to the subsession object.
RegisterL(const CMcnTopicArray &)
Subscribes topics given in aArray. Passed to the subsession object.
For leave reasons, see RMcnSubSession.
Version()
Returns version information of this dll.
operator=(const RCbsMcnSession &)
Member Data Documentation
TBool
iConnected
TBool
| iConnected | [private] |
RMcnSubSession
iSubSession
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.