Neokernel API

NK Methods

The methods of the NK class are listed below. For a complete list of NK class members, see the NK Members topic.

Public Static Methods

Dispose
getParam Returns a String value of the parameger 'sw' given all the parameter 'args'.
hasParam Returns true if 'sw' is a param within 'args', the list of parameters
kill Force the WebServer, SecureWebServer, ServiceManager, ClassFactory, Reporter, and Neokernel to shut down. When the ServiceManager shuts down, it will attempt to stop each of the agents that are registered with it.
MainOverloaded. Called with command line parameters to bootstrap the Neokernel.

nk [-reporter [<classname>|null]] [-show_println] [-show_debug] [-show_warning] [-dont_start_agents] [-dont_start_webserver] [-startup_dir <dir>] [-only_load_from_xml] [<.agent file>|<classname>] ...

  • -hide_println when present disables verbose activity output
  • -hide_debug when present disables debugging output
  • -hide_warning when present disables internal warning messages
  • -reporter specifies the classname of an alternate reporter agent (or null to disable)
  • -dont_start_agents Don't auto-start any agents when Neokernel starts
  • -dont_start_webserver Don't auto-start the WebServer when Neokernel starts
  • -only_load_from_xml Only start agents that are specified in the neokernel_props.xml or startup file.
  • -startup_dir specifies the directory to search for startup .xml files and agents

Public Instance Methods

Equals (inherited from Object) 
GetHashCode (inherited from Object) 
GetType (inherited from Object) 
ToString (inherited from Object) 

Protected Instance Methods

Finalize (inherited from Object) 
MemberwiseClone (inherited from Object) 

See Also

NK Class | com.neokernel.nk Namespace