|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.client.OSAction | +--ostore.client.OSActionAppend
The OSActionAppend
appends data to a data object.
Field Summary | |
---|---|
static boolean |
DEBUG
|
Constructor Summary | |
---|---|
OSActionAppend(InputBuffer buffer)
|
|
OSActionAppend(SecureHash aguid,
int length,
byte[] data)
Creates a new OSActionAppend . |
Method Summary | |
---|---|
byte[] |
getData()
Returns the data that this update appends. |
int |
getLength()
Returns the number of bytes that this update appends. |
SecureHash |
getTargetAguid()
Returns the Aguid of the object that this update modifies. |
void |
serialize(OutputBuffer buffer)
Add the object to the buffer . |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final boolean DEBUG
Constructor Detail |
public OSActionAppend(SecureHash aguid, int length, byte[] data)
OSActionAppend
.
aguid
- the Aguid of the data object to modifylength
- the number of bytes to appenddata
- the data to append. The data is assumed to start at
offset zero.public OSActionAppend(InputBuffer buffer) throws QSException
Method Detail |
public void serialize(OutputBuffer buffer)
QuickSerializable
buffer
.
serialize
in interface QuickSerializable
serialize
in class OSAction
buffer
- the output buffer to add the object topublic SecureHash getTargetAguid()
getTargetAguid
in class OSAction
public int getLength()
public byte[] getData()
public String toString()
toString
in class OSAction
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |