com.ibm.jtopenlite

Class SystemInfo

  • java.lang.Object
    • com.ibm.jtopenlite.SystemInfo


  • public final class SystemInfo
    extends java.lang.Object
    Initially obtained from a SignonConnection object; contains information about the IBM i host, such as VRM level (V5R4M0, etc) and password level. All host server connections will have an associated SystemInfo object. If a connection is constructed using a system name, user, and password, then an implicit SignonConnection is made to obtain the SystemInfo object, and then closed.

    For performance reasons, when multiple connections need to be made to the same host (Command, DDM, File, etc), an application may want to explicitly retrieve the SystemInfo object directly from the SignonConnection, in order to avoid any implicit SignonConnections.

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object obj) 
      int getPasswordLevel()
      Returns the server password level.
      int getServerCCSID()
      Returns the server CCSID.
      int getServerLevel()
      Returns the server lipi level.
      int getServerVersion()
      Returns the server VRM version.
      java.lang.String getSystem()
      Returns the system name.
      int hashCode() 
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • getSystem

        public java.lang.String getSystem()
        Returns the system name.
      • getServerCCSID

        public int getServerCCSID()
        Returns the server CCSID.
      • getServerLevel

        public int getServerLevel()
        Returns the server lipi level.
      • getServerVersion

        public int getServerVersion()
        Returns the server VRM version.
      • getPasswordLevel

        public int getPasswordLevel()
        Returns the server password level.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object