Management API

The client you create connects to SAP Mobile Server through SAP Control Center and SAP Unified Agent.

For example, as this illustration shows, connections are established using an AgentContext and a ServerContext:

Establishing Connections Using AgentContext and ServerContext
SMP 2.3 Management API Development Framework

You do not need to create an instance of AgentContext. If none is defined, a default one is created by the ServerContext using its host value and default agent port (9999).

Note: Calling deleteXxxx() on a non-existent object causes the API to return silently and not throw an exception.