Package net.aifusion.cimserver
Class CimServer
java.lang.Object
net.aifusion.cimserver.CimServer
- All Implemented Interfaces:
Runnable
Class to create a CimServer. A CIM Server is a long-running service that manages CIM objects
- Author:
- Sharad Singhal
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Start the Cim Server.void
run()
void
Start the Server.void
Stop the server and free all resources
-
Constructor Details
-
CimServer
- Throws:
IOException
-
-
Method Details
-
main
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() -
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
-