The client you create connects to SAP Mobile Server through SAP Control Center.
For example, as this illustration shows, connections are established using an AgentContext and a ServerContext:
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).