Class CimServer

java.lang.Object
net.aifusion.cimserver.CimServer
All Implemented Interfaces:
Runnable

public class CimServer extends Object
Class to create a CimServer. A CIM Server is a long-running service that manages CIM objects
Author:
Sharad Singhal
  • Constructor Details

  • Method Details

    • main

      public static void main(String[] args)
      Start the Cim Server.
      Parameters:
      args - - the program takes the following arguments
      -h | -h
      (must be only argument) print a help message and exit
      -c configId
      use configuration identified by ID [defaultConfig]
      -cp path
      use specified directory to locate the configuration [resources/config]
      -n nameSpace
      use specified namespace to locate the configuration [aifusion]
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • startServer

      public void startServer()
      Start the Server. The calling thread will return once server starts
    • stopServer

      public void stopServer()
      Stop the server and free all resources