getServerContext method

Syntax
public ServerContext getServerContext( )
Remarks

Returns the ServerContext for this MobiLink server.

Returns

The ServerContext for this MobiLink server.

See also
Example

The following example shows you how to get the ServerContext instance for a DBConnectionContext and shut down the server.

Note

This example assumes you have a DBConnectionContext instance called _cc.

// A method that uses an instance of the ServerContext to shut down the server
public void shutDownServer() {
  ServerContext context = _cc.getServerContext();
  context.shutdown();
}

// ...