This tutorial shows how an application connects to the Sockets Server to access the Management Plane functionality. The Management Plane functionality allows an application to access the Access Points. The Management Plane uses a different API to other Sockets Server connections.
The RConnectionServ API is accessed through the Sockets Server client API, so you need to ensure that esock.lib is included in the MMP file.
The user must supply a valid Tier ID when the connection is made. Tier's are discussed in the topic Tiers Manager . Use the Tier Table in the Communications Database to find the Tier IDs.
The high level steps to connect to the Management Plane are:
The following example shows how to start and close a session.
#include <comms-infras/es_connectionserv.h> #include <sometechnology.h> // for KSomeTierId using namespace ConnectionServ; // Assumption: RConnectionServ is owned as an attribute of some working object protected: RConnectionServ iConnServ; // Start the session User::LeaveIfError(iConnServ.Connect(KSomeTierId)); // Close the session iConnServ.Close();
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.