SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.util
Interface AgentControllerCallback

All Known Implementing Classes:
AgentControllerImpl

public interface AgentControllerCallback

Interface for callbacks on the AgentController. This interface is used by Agents to send add and delete requests and to unregister an agent if a critical error occurred.


Method Summary
 void add(Record[] records)
          Add the given records.
 void delete(Id[] ids)
          Delete the given ids.
 void unregister(java.lang.String dataSourceId)
          Removes the Agent using the given DataSourceId from the list of active Agents.
 

Method Detail

add

void add(Record[] records)
Add the given records.

Parameters:
records - the records to add

delete

void delete(Id[] ids)
Delete the given ids.

Parameters:
ids - the ids of the records to delete

unregister

void unregister(java.lang.String dataSourceId)
Removes the Agent using the given DataSourceId from the list of active Agents.

Parameters:
dataSourceId - the ID of the data source used by the crawl

SMILA (incubation) API documentation