You are here: com.dtsearch.engine Package > Classes > SearchJob Class > SearchJob.setStatusHandler Method
Close
dtSearch Engine API for Java
SearchJob.setStatusHandler Method

The object that will receive status notification messages from the engine while the search is in progress.

Syntax
Java
public void setStatusHandler(Object newStatusHandler);

The object should implement these two methods: int CheckForAbort(), and void ReceiveFound(String name). CheckForAbort should return 0 if the job is to continue, or 1 to abort the search.

Copyright (c) 1998-2018 dtSearch Corp. All rights reserved.