com.tivoli.twg.engine
Class TWGConServer

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGConObject
      extended bycom.tivoli.twg.engine.TWGConServer

public class TWGConServer
extends TWGConObject

Console object used to shadow information about the server.


Field Summary
 
Fields inherited from class com.tivoli.twg.engine.TWGConObject
INVALID_OBJECT_ID
 
Constructor Summary
TWGConServer(long objectId)
          Constructor
 
Method Summary
 void Delete()
          Delete (remove object from hash table)
static java.util.Date getBuildDate()
          Return build date
static java.lang.String getDataDirectory()
          Return data directory
static java.lang.String getLogDirectory()
          Return log directory
 int getOSType()
          Return operating system type
static java.lang.String getPathSeparator()
          Return path separator
static java.lang.String getProdDataDirectory()
          Return product data directory
static java.lang.String getRootDirectory()
          Return root directory
static java.lang.String getSeparator()
          Return separator
static java.lang.String getTempDataDirectory()
          Return temporary data directory
 int getVersion()
          Return version code (decimal VVvvyymmdd, for VV.vv, mm/dd/1990+yy)
 int getVersionMajor()
          Return version major
 int getVersionMinor()
          Return version minor
static boolean isAIX()
          Is AIX operating system
static boolean isLinux()
          Is linux operating system
static boolean isOS400()
          Is OS/400 operating system
static boolean isUNIX()
          Is UNIX operating system
static boolean isWindows()
          Is Windows operating system
 java.lang.String toString()
          Generate string representation of object
 void UpdateUsingShadowRecord(byte[] buffer, int offset, int length)
          Update object using shadow record created by the engine object which is matched with this class.
 
Methods inherited from class com.tivoli.twg.engine.TWGConObject
AllObjects, AllObjects, DeleteObjects, DeregisterListener, FindObject, getBaseClassName, LookUpShadowClass, ObjectID, ProcessUpdateRequest, RegisterListener, SetObjectID
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TWGConServer

public TWGConServer(long objectId)
             throws DuplicateObjectIDException
Constructor

Throws:
DuplicateObjectIDException - if ID is duplicate of existing object ID
Method Detail

Delete

public void Delete()
Delete (remove object from hash table)

Overrides:
Delete in class TWGConObject

UpdateUsingShadowRecord

public void UpdateUsingShadowRecord(byte[] buffer,
                                    int offset,
                                    int length)
Update object using shadow record created by the engine object which is matched with this class.

Specified by:
UpdateUsingShadowRecord in class TWGConObject
Parameters:
buffer - - byte array containing opaque representation of shadowed attributes
offset - - offset of shadow record in byte array
length - - length of shadow record in byte array

toString

public java.lang.String toString()
Generate string representation of object

Overrides:
toString in class TWGConObject
Returns:
string representation

getVersion

public int getVersion()
Return version code (decimal VVvvyymmdd, for VV.vv, mm/dd/1990+yy)

Returns:
int version code

getVersionMajor

public int getVersionMajor()
Return version major

Returns:
int version major

getVersionMinor

public int getVersionMinor()
Return version minor

Returns:
int version minor

getBuildDate

public static java.util.Date getBuildDate()
Return build date


getOSType

public int getOSType()
Return operating system type

Returns:
int operating system type (see TWGEnvironment.OS_TYPE_*)

isAIX

public static boolean isAIX()
Is AIX operating system

Returns:
boolean true if AIX OS, false if not

isLinux

public static boolean isLinux()
Is linux operating system

Returns:
boolean true if linux OS, false if not

isOS400

public static boolean isOS400()
Is OS/400 operating system

Returns:
boolean true if OS/400 OS, false if not

isUNIX

public static boolean isUNIX()
Is UNIX operating system

Returns:
boolean true if UNIX OS, false if not

isWindows

public static boolean isWindows()
Is Windows operating system

Returns:
boolean true if Windows OS, false if not

getRootDirectory

public static java.lang.String getRootDirectory()
Return root directory

Returns:
String root directory

getDataDirectory

public static java.lang.String getDataDirectory()
Return data directory

Returns:
String data directory

getLogDirectory

public static java.lang.String getLogDirectory()
Return log directory

Returns:
String log directory

getProdDataDirectory

public static java.lang.String getProdDataDirectory()
Return product data directory

Returns:
String product data directory

getTempDataDirectory

public static java.lang.String getTempDataDirectory()
Return temporary data directory

Returns:
String temporary data directory

getPathSeparator

public static java.lang.String getPathSeparator()
Return path separator

Returns:
String path separator

getSeparator

public static java.lang.String getSeparator()
Return separator

Returns:
String separator