com.tivoli.twg.engine
Class TWGRemoteManagedObject

java.lang.Object
  extended bycom.tivoli.twg.engine.TWGRemoteManagedObject

public class TWGRemoteManagedObject
extends java.lang.Object

A remote representation of a managed object. This object can be part of a TWGRemoteTaskClients list of clients, or it can be obtained by asking the TWGRemoteTaskManager for one to be created for a specific moid.


Method Summary
 byte[] getAddressEntryRecord()
          Get the data for this object's address entry record.
 java.lang.String getAgentVersion()
          Get the version of the agent represented by this managed object.
 int getClientStatus()
          Get the client service.
 int getClientTaskStatus()
          Get the client task status.
 long getMofoid()
          Get the object ID of the managed object factory for this managed object
 long getMoid()
          Get the managed object ID for this managed object
 int getMoState()
          Get the state of this managed object.
 java.lang.String getName()
          Get the name or label for this managed object
 boolean isAccessDenied()
          Determine if access is denied.
 boolean isClientSecureSupported()
          Determine if this managed object supports securing clients
 boolean isClientUnsecure()
          Determine if this managed object has had the client secured.
 boolean licenseGranted()
          Determine if a license has been granted to this managed object
 boolean licenseRequired()
          Determine if a license is required
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getMoid

public final long getMoid()
Get the managed object ID for this managed object

Returns:
long managed object ID

getMofoid

public final long getMofoid()
Get the object ID of the managed object factory for this managed object

Returns:
long object ID of managed object factory

getName

public final java.lang.String getName()
Get the name or label for this managed object

Returns:
String name of this managed object

getMoState

public final int getMoState()
Get the state of this managed object. See TWGManagedObjectConstants for constants starting with MOSTATE_

Returns:
the state of this managed object. Note: this represents the state of the object at the time that this information was sent from the core engine. It does not represent any state changes that may have occurred since this instance of TWGRemoteManagedObject was created.

getClientStatus

public final int getClientStatus()
Get the client service. See TWGManagedObjectConstants for constants starting with CLIENT_SERVICE_

Returns:
int client status.

getClientTaskStatus

public final int getClientTaskStatus()
Get the client task status. See TWGTaskConstants for constants starting with CLIENT_TASK_

Returns:
int client task status.

getAddressEntryRecord

public final byte[] getAddressEntryRecord()
Get the data for this object's address entry record.

Returns:
byte[]

licenseRequired

public final boolean licenseRequired()
Determine if a license is required

Returns:
boolean

licenseGranted

public final boolean licenseGranted()
Determine if a license has been granted to this managed object

Returns:
boolean

isClientSecureSupported

public final boolean isClientSecureSupported()
Determine if this managed object supports securing clients

Returns:
boolean

isClientUnsecure

public final boolean isClientUnsecure()
Determine if this managed object has had the client secured.

Returns:
boolean

isAccessDenied

public final boolean isAccessDenied()
Determine if access is denied.

Returns:
boolean

getAgentVersion

public final java.lang.String getAgentVersion()
Get the version of the agent represented by this managed object. This will only be valid for Native Managend Objects.

Returns:
String containing version or null if version is unknown (non-native agent).