Class AsyncBasicDetectorMinaImpl<Request,​Response>

    • Constructor Detail

      • AsyncBasicDetectorMinaImpl

        public AsyncBasicDetectorMinaImpl​(java.lang.String serviceName,
                                          int port)

        Constructor for AsyncBasicDetector.

        Type Parameters:
        Request - a Request object.
        Response - a Response object.
        Parameters:
        serviceName - a String object.
        port - a int.
      • AsyncBasicDetectorMinaImpl

        public AsyncBasicDetectorMinaImpl​(java.lang.String serviceName,
                                          int port,
                                          int timeout,
                                          int retries)

        Constructor for AsyncBasicDetector.

        Parameters:
        serviceName - a String object.
        port - a int.
        timeout - a int.
        retries - a int.
    • Method Detail

      • createDetectorHandler

        protected final org.apache.mina.core.service.IoHandler createDetectorHandler​(DetectFutureMinaImpl future)

        createDetectorHandler

        Parameters:
        future - a DetectFuture object.
        Returns:
        a IoHandler object.
      • setLoggingFilter

        protected final void setLoggingFilter​(org.apache.mina.core.filterchain.IoFilterAdapter filterLogging)

        setLoggingFilter

        Parameters:
        filterLogging - a IoFilterAdapter object.
      • getLoggingFilter

        protected final org.apache.mina.core.filterchain.IoFilterAdapter getLoggingFilter()

        getLoggingFilter

        Returns:
        a IoFilterAdapter object.
      • setProtocolCodecFilter

        protected final void setProtocolCodecFilter​(org.apache.mina.filter.codec.ProtocolCodecFilter protocolCodecFilter)

        setProtocolCodecFilter

        Parameters:
        protocolCodecFilter - a ProtocolCodecFilter object.
      • getProtocolCodecFilter

        protected final org.apache.mina.filter.codec.ProtocolCodecFilter getProtocolCodecFilter()

        getProtocolCodecFilter

        Returns:
        a ProtocolCodecFilter object.
      • getDetectorHandler

        protected final org.apache.mina.core.service.IoHandler getDetectorHandler()

        getDetectorHandler

        Returns:
        a IoHandler object.