Package de.mid.innovator.client
Class InoProgram
java.lang.Object
de.mid.innovator.client.InoProgram
- Direct Known Subclasses:
InoClientProgram,InoProxyProgram,InoServerProgram
The abstract class is the uppermost generalization of any Innovator program
that can be executed. One net client hosts various programs, such as server
programs or client programs.
- Author:
- borschet
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enumeration describes the different kinds of Innovator programs that are registered on thelicense server. -
Method Summary
Modifier and TypeMethodDescriptiongetHost()The host which the program is running on.intgetPid()The process identifier of the operating system which the program is running on.A specific enumeration value that specifies the Innovator program.getUser()The Innovator user who started the application.getVers()The Innovator version which the running program belongs to.toString()
-
Method Details
-
getHost
The host which the program is running on. This should be equal to the value of the net client.- Returns:
- the host name
-
getPid
public int getPid()The process identifier of the operating system which the program is running on.- Returns:
- the PID as an integer
-
getUser
The Innovator user who started the application.- Returns:
- user name as a string
-
getVers
The Innovator version which the running program belongs to.- Returns:
- a specific version string for the major version (V), minor version (M) and release (R) as V.M.R
-
getProgramType
A specific enumeration value that specifies the Innovator program.- Returns:
- the program type
-
toString
-