|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGConObject
com.tivoli.twg.engine.TWGConActiveConsole
Console object used to shadow the state of a TWGActiveConsole object in the Director Server.
Field Summary |
---|
Fields inherited from class com.tivoli.twg.engine.TWGConObject |
---|
INVALID_OBJECT_ID |
Constructor Summary | |
---|---|
TWGConActiveConsole(long obj_id)
Constructor for TWGConActiveConsole with given object ID |
Method Summary | |
---|---|
void |
Delete()
Destructor for TWGConObject: remove object from hash table |
long |
getAssociationID()
Return association object ID of currently active association |
static TWGConActiveConsole |
getCurrent()
Get reference to current console |
long |
getFilterID()
Return filter object ID of currently active filter |
java.lang.String |
getHostName()
Return host associated with active console |
long |
getLogonTime()
Get logon time for user |
java.lang.String |
getUserID()
Return user ID associated with active console |
boolean |
isCurrentConsole()
Return true if is current logon's console |
static boolean |
isServerDatabaseActive()
Deprecated. see TWGConDatabase |
static boolean |
isServerDatabaseEnabled()
Deprecated. see TWGConDatabase |
java.lang.String |
toString()
Generate string representation of object |
void |
UpdateUsingShadowRecord(byte[] rec,
int rec_off,
int rec_len)
Update object using shadow record created by the 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 |
public TWGConActiveConsole(long obj_id) throws DuplicateObjectIDException
obj_id
- - object ID of console object
DuplicateObjectIDException
- if ID is duplicate of
existing object IDMethod Detail |
public void Delete()
Delete
in class TWGConObject
public void UpdateUsingShadowRecord(byte[] rec, int rec_off, int rec_len)
UpdateUsingShadowRecord
in class TWGConObject
rec
- - byte array containing opaque representation of
shadowed attributesrec_off
- - offset of shadow record in byte arrayrec_len
- - length of shadow record in byte arraypublic java.lang.String toString()
toString
in class TWGConObject
public java.lang.String getUserID()
public java.lang.String getHostName()
public long getFilterID()
public long getAssociationID()
public boolean isCurrentConsole()
public long getLogonTime()
public static TWGConActiveConsole getCurrent()
public static boolean isServerDatabaseEnabled()
public static boolean isServerDatabaseActive()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |