| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
  |
  +--ostore.client.OSAction
        |
        +--ostore.client.OSActionReplace
  The OSActionReplace replaces data in a data object.
  
| Field Summary | |
|---|---|
| static boolean | DEBUG | 
| Constructor Summary | |
|---|---|
| OSActionReplace(InputBuffer buffer) | |
| OSActionReplace(SecureHash guid,
                int start,
                int length,
                byte[] data)Creates a new OSActionReplace. | |
| Method Summary | |
|---|---|
|  byte[] | getData()Returns the data that this update replaces. | 
|  int | getLength()Returns the number of bytes that this update replaces. | 
|  int | getStart()Returns the offset at which to start replacing data. | 
|  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 OSActionReplace(SecureHash guid,
                       int start,
                       int length,
                       byte[] data)
OSActionReplace.
guid - the Aguid of the data object to modifystart - the offset at which to start replacing datalength - the number of bytes to replacedata - the data to replace.  The data is assumed to start at
      offset zero.
public OSActionReplace(InputBuffer buffer)
                throws QSException
| Method Detail | 
public void serialize(OutputBuffer buffer)
QuickSerializablebuffer.
serialize in interface QuickSerializableserialize in class OSActionbuffer - the output buffer to add the object topublic SecureHash getTargetAguid()
getTargetAguid in class OSActionpublic int getStart()
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 | ||||||||||