com.cysols.iodef.rid
Interface RIDQueryProcess


public interface RIDQueryProcess

This interface defines the process of RID query-response and handling logic of the result.
Its concrete class must send the RID query based on the IODEFDocument and RID element and call RIDResultConsumer.accept method with the necessary argument.


Method Summary
 void query(IODEFDocument iodef, RID rid, RIDResultConsumer consumer)
          Sends the RID query with IODEFDocument and RID element, and Calls RIDResultConsumer after receiving the result response.
 

Method Detail

query

void query(IODEFDocument iodef,
           RID rid,
           RIDResultConsumer consumer)
Sends the RID query with IODEFDocument and RID element, and Calls RIDResultConsumer after receiving the result response.

Parameters:
iodef - IODEF document instance to create the RID Query
rid - RID element instance to create RID Query
consumer - Used for post-processing after the result is received.