RMPMDefaultConnection Class Reference
class RMPMDefaultConnection : public RSessionBase |
Cleant API for MPM Default Connection server services.
Enables registering IAP to be used as default connection. Only one client may be connected at a time
RMPMDefaultConnection rmpmdc;
TInt err = KErrNone;
//connect and set default IAP
err = rmpmdc.Connect();
err = rmpmdc.SetDefaultIAP( iapId );
//when IAP no longer used as default
err = rmpmdc.ClearDefaultIAP();
rmpmdc.Close();
mpmdefaultconnection.dll
- Since
- S60 v3.2
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
RMPMDefaultConnection()
RMPMDefaultConnection | ( | ) | [inline] |
Member Functions Documentation
ClearDefaultIAP()
IMPORT_C TInt | ClearDefaultIAP | ( | ) | |
Clears IAP from being used as default connection
Close()
Closes connection to server If IAP has been registered by the client it is also deregistered here
Connect()
Creates connection to server
SetDefaultIAP(TInt)
Sets IAP to be used as default connection
Parameters
TInt aIapId | CommsDat record id of the IAP |
Version()
Returns MPM Default Connection server version.
- Since
- 3.2
Member Data Documentation
TBool
iClientConnected
TBool
| iClientConnected | [private] |
Is client connected to server or not
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.