net.handle.hdllib
Interface DumpHandlesCallback


public interface DumpHandlesCallback

Interface used to define objects that want to receive the streamed results from DumpHandlesResponse messages.


Method Summary
 void addHandle(byte[] handle, HandleValue[] values)
          Process the given transaction which was received via the stream in the DumpHandlesResponse message.
 void addNamingAuthority(byte[] naHandle)
          Process the given naming authority which was received via the stream in the DumpHandlesResponse message.
 void finishProcessing(long retrievalDate, long currentTxnId)
           
 

Method Detail

addHandle

void addHandle(byte[] handle,
               HandleValue[] values)
               throws java.lang.Exception
Process the given transaction which was received via the stream in the DumpHandlesResponse message.

Throws:
java.lang.Exception

addNamingAuthority

void addNamingAuthority(byte[] naHandle)
                        throws java.lang.Exception
Process the given naming authority which was received via the stream in the DumpHandlesResponse message. If this message is called, that means that the server is responsible for this naming authority.

Throws:
java.lang.Exception

finishProcessing

void finishProcessing(long retrievalDate,
                      long currentTxnId)