public final class SystemInfo
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
static int |
VERSION_540 |
static int |
VERSION_610 |
static int |
VERSION_710 |
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() |
public static final int VERSION_540
public static final int VERSION_610
public static final int VERSION_710
public java.lang.String getSystem()
public int getServerCCSID()
public int getServerLevel()
public int getServerVersion()
public int getPasswordLevel()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object