Package org.opennms.netmgt.provision
Interface DetectFuture
- 
- All Superinterfaces:
- DetectResults
 - All Known Implementing Classes:
- DetectFutureFailedImpl,- DetectFutureMinaImpl,- DetectFutureNettyImpl,- DetectorFutureImpl
 
 public interface DetectFuture extends DetectResults DetectFuture interface. - Version:
- $Id: $
- Author:
- thedesloge
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectFutureaddListener(DetectFutureListener<DetectFuture> listener)addListenervoidawaitFor()awaitForvoidawaitForUninterruptibly()awaitForUninterruptiblyjava.lang.ThrowablegetException()getExceptionbooleanisDone()isDonevoidsetException(java.lang.Throwable throwable)setExceptionvoidsetServiceDetected(boolean serviceDetected)setServiceDetected- 
Methods inherited from interface org.opennms.netmgt.provision.DetectResultsgetServiceAttributes, isServiceDetected
 
- 
 
- 
- 
- 
Method Detail- 
getExceptionjava.lang.Throwable getException() getException - Returns:
- a Throwableobject.
 
 - 
setServiceDetectedvoid setServiceDetected(boolean serviceDetected) setServiceDetected - Parameters:
- serviceDetected- a boolean.
 
 - 
setExceptionvoid setException(java.lang.Throwable throwable) setException - Parameters:
- throwable- a- Throwableobject.
 
 - 
awaitForvoid awaitFor() throws java.lang.InterruptedExceptionawaitFor - Throws:
- java.lang.InterruptedException
 
 - 
awaitForUninterruptiblyvoid awaitForUninterruptibly() awaitForUninterruptibly 
 - 
isDoneboolean isDone() isDone 
 - 
addListenerDetectFuture addListener(DetectFutureListener<DetectFuture> listener) addListener 
 
- 
 
-