|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.tivoli.twg.engine.TWGDistConfigRecordHashcode
com.tivoli.twg.engine.TWGDistConfigRecord
Containter for distributed configuration record data
Field Summary |
---|
Fields inherited from class com.tivoli.twg.engine.TWGDistConfigRecordHashcode |
---|
FLAGS_ISAGENTOWNED, FLAGS_ISDELETED, FLAGS_ISGROUP, REC_FLAGS_OFF, REC_HASHCODE_OFF, REC_HEADERLEN, REC_LENDATA_OFF, REC_OBJECTID_OFF, REC_OFFDATA_OFF, REC_OFFRECID_OFF, REC_OVERALLLEN_OFF |
Constructor Summary | |
---|---|
TWGDistConfigRecord(java.lang.String rec_id,
long oid,
boolean is_grp,
byte[] buf,
int buf_off,
int buf_len)
Constructor for record |
|
TWGDistConfigRecord(java.lang.String rec_id,
long oid,
int flgs,
byte[] buf,
int buf_off,
int buf_len)
Constructor for record |
Method Summary | |
---|---|
byte[] |
getByteEncoded()
Get byte-encoded representation of record |
byte[] |
getRecordData()
Get record data |
int |
getRecordLength()
Get record length |
void |
replaceRecordData(byte[] buf,
int buf_off,
int buf_len)
Replace record data : updates hashcode |
Methods inherited from class com.tivoli.twg.engine.TWGDistConfigRecordHashcode |
---|
computeHashcode, computeRecordHashcode, getDataRecord, getHashcode, getObjectID, getRecordID, isAgentOwned, isDeleted, isGroupID, setHashcode, setObjectID |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TWGDistConfigRecord(java.lang.String rec_id, long oid, boolean is_grp, byte[] buf, int buf_off, int buf_len)
rec_id
- - record IDoid
- - object IDis_grp
- - true if group id, false if managed object idbuf
- - buffer containing recordbuf_off
- - offset of record in bufferbuf_len
- - length of record in buffer;public TWGDistConfigRecord(java.lang.String rec_id, long oid, int flgs, byte[] buf, int buf_off, int buf_len)
rec_id
- - record IDoid
- - object IDflgs
- - record flagsbuf
- - buffer containing recordbuf_off
- - offset of record in bufferbuf_len
- - length of record in buffer;Method Detail |
public int getRecordLength()
public byte[] getRecordData()
public void replaceRecordData(byte[] buf, int buf_off, int buf_len)
buf
- - buffer containing recordbuf_off
- - offset of record in bufferbuf_len
- - length of record in buffer;public byte[] getByteEncoded()
getByteEncoded
in class TWGDistConfigRecordHashcode
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |