Class DumpHandlesResponse

All Implemented Interfaces:
Cloneable

public class DumpHandlesResponse extends AbstractResponse
Response used to send all handles in the database to a replicated site/server. This response is used for server<->server (or replicator<->server) communication.
  • Field Details

  • Constructor Details

  • Method Details

    • getLastProcessedRecordType

      public byte getLastProcessedRecordType()
    • getLastProcessedRecord

      public byte[] getLastProcessedRecord()
    • setLastProcessedRecordType

      public void setLastProcessedRecordType(byte lastProcessedRecordType)
    • setLastProcessedRecord

      public void setLastProcessedRecord(byte[] lastProcessedRecord)
    • processStreamedPart

      public void processStreamedPart(DumpHandlesCallback callback, PublicKey sourceKey) throws HandleException
      Process the incoming stream and call the given callback for every handle that is retrieved.
      Throws:
      HandleException
    • streamResponse

      public void streamResponse(SignedOutputStream sout) throws HandleException
      Write the response to the specified output stream. This will send all of the handles that hash to the requestor beginning with the specified transaction ID. This method is typically called on the server side.
      Overrides:
      streamResponse in class AbstractResponse
      Throws:
      HandleException