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

DefaultDetectFuture class.

Version:
$Id: $
Author:
brozow

Constructor Summary
DefaultDetectFuture(AsyncServiceDetector detector)
          Constructor for DefaultDetectFuture.
 
Method Summary
 Throwable getException()
          getException
 Object getObjectValue()
          getObjectValue
 AsyncServiceDetector getServiceDetector()
          getServiceDetector
 boolean isServiceDetected()
          isServiceDetected
 void setException(Throwable throwable)
          setException
 void setServiceDetected(boolean serviceDetected)
          setServiceDetected
 
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)

Constructor for DefaultDetectFuture.

Parameters:
detector - a AsyncServiceDetector object.
Method Detail

getServiceDetector

public AsyncServiceDetector getServiceDetector()

getServiceDetector

Specified by:
getServiceDetector in interface DetectFuture
Returns:
a AsyncServiceDetector object.

isServiceDetected

public boolean isServiceDetected()

isServiceDetected

Specified by:
isServiceDetected in interface DetectFuture
Returns:
a boolean.

getException

public Throwable getException()

getException

Specified by:
getException in interface DetectFuture
Returns:
a Throwable object.

setServiceDetected

public void setServiceDetected(boolean serviceDetected)

setServiceDetected

Specified by:
setServiceDetected in interface DetectFuture
Parameters:
serviceDetected - a boolean.

setException

public void setException(Throwable throwable)

setException

Specified by:
setException in interface DetectFuture
Parameters:
throwable - a Throwable object.

getObjectValue

public Object getObjectValue()

getObjectValue

Returns:
a Object object.


Copyright © 2011. All Rights Reserved.