org.opennms.netmgt.provision.support
Class DefaultDetectFuture

java.lang.Object
  extended by org.apache.mina.core.future.DefaultIoFuture
      extended by org.opennms.netmgt.provision.support.DefaultDetectFuture
All Implemented Interfaces:
org.apache.mina.core.future.IoFuture, DetectFuture

public class DefaultDetectFuture
extends org.apache.mina.core.future.DefaultIoFuture
implements DetectFuture

Author:
brozow

Constructor Summary
DefaultDetectFuture(AsyncServiceDetector detector)
           
 
Method Summary
 Throwable getException()
           
 AsyncServiceDetector getServiceDetector()
           
 boolean isServiceDetected()
           
 void setException(Throwable throwable)
           
 void setServiceDetected(boolean serviceDetected)
           
 
Methods inherited from class org.apache.mina.core.future.DefaultIoFuture
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getSession, getValue, isDone, join, join, removeListener, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.mina.core.future.IoFuture
addListener, await, await, await, awaitUninterruptibly, awaitUninterruptibly, awaitUninterruptibly, getSession, isDone, join, join, removeListener
 

Constructor Detail

DefaultDetectFuture

public DefaultDetectFuture(AsyncServiceDetector detector)
Parameters:
asyncBasicDetector -
Method Detail

getServiceDetector

public AsyncServiceDetector getServiceDetector()
Specified by:
getServiceDetector in interface DetectFuture

isServiceDetected

public boolean isServiceDetected()
Specified by:
isServiceDetected in interface DetectFuture

getException

public Throwable getException()
Specified by:
getException in interface DetectFuture

setServiceDetected

public void setServiceDetected(boolean serviceDetected)
Specified by:
setServiceDetected in interface DetectFuture

setException

public void setException(Throwable throwable)
Specified by:
setException in interface DetectFuture


Copyright © 2009. All Rights Reserved.