Class DetectFutureMinaImpl

  • All Implemented Interfaces:
    org.apache.mina.core.future.IoFuture, DetectFuture, DetectResults

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

    DefaultDetectFuture class.

    Version:
    $Id: $
    Author:
    brozow
    • Method Detail

      • isServiceDetected

        public boolean isServiceDetected()

        isServiceDetected

        Specified by:
        isServiceDetected in interface DetectResults
        Returns:
        a boolean.
      • getServiceAttributes

        public java.util.Map<java.lang.String,​java.lang.String> getServiceAttributes()

        getServiceAttributes

        Specified by:
        getServiceAttributes in interface DetectResults
        Returns:
        a Map object.
      • getException

        public java.lang.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​(java.lang.Throwable throwable)

        setException

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

        public java.lang.Object getObjectValue()

        getObjectValue

        Returns:
        a Object object.
      • awaitFor

        public void awaitFor()
                      throws java.lang.InterruptedException
        Description copied from interface: DetectFuture

        awaitFor

        Specified by:
        awaitFor in interface DetectFuture
        Throws:
        java.lang.InterruptedException