com.sun.squawk.rms
Class RecordEntry
java.lang.Object
com.sun.squawk.rms.RmsEntry
com.sun.squawk.rms.RecordEntry
- All Implemented Interfaces:
- IRecordEntry, IRmsEntry
public class RecordEntry
- extends RmsEntry
- implements IRecordEntry
TYPE
public static final int TYPE
- See Also:
- Constant Field Values
storeId
protected int storeId
id
protected int id
bytesLength
protected int bytesLength
bytesOffset
protected int bytesOffset
bytes
protected byte[] bytes
RecordEntry
public RecordEntry()
getBytes
public byte[] getBytes()
- Specified by:
getBytes
in interface IRecordEntry
getBytes
public int getBytes(byte[] buffer,
int offset,
int length)
- Specified by:
getBytes
in interface IRecordEntry
getBytesLength
public int getBytesLength()
- Specified by:
getBytesLength
in interface IRecordEntry
getId
public int getId()
- Specified by:
getId
in interface IRecordEntry
getStoreId
public int getStoreId()
- Specified by:
getStoreId
in interface IRecordEntry
getType
public int getType()
- Specified by:
getType
in interface IRmsEntry
readFrom
public void readFrom(IMemoryHeapBlock memoryBlock)
throws IOException
- Specified by:
readFrom
in interface IRmsEntry
- Overrides:
readFrom
in class RmsEntry
- Throws:
IOException
setBytes
public void setBytes(byte[] bytes,
int offset,
int length)
- Specified by:
setBytes
in interface IRecordEntry
setId
public void setId(int id)
- Specified by:
setId
in interface IRecordEntry
setStoreId
public void setStoreId(int id)
- Specified by:
setStoreId
in interface IRecordEntry
visit
public void visit(IRmsEntryVisitor visitor)
throws RecordStoreException
- Specified by:
visit
in interface IRmsEntry
- Throws:
RecordStoreException
writeTo
public void writeTo(DataOutputStream dataOut)
throws IOException
- Specified by:
writeTo
in interface IRmsEntry
- Overrides:
writeTo
in class RmsEntry
- Throws:
IOException
"For updated information see the Java FRC site"