Class SimpleConversationEndPoint.SimpleExchange

    • Method Detail

      • matchResponseByString

        public boolean matchResponseByString​(java.lang.String response)
        Description copied from interface: Exchange

        matchResponseByString

        Specified by:
        matchResponseByString in interface Exchange
        Parameters:
        response - a String object.
        Returns:
        a boolean.
      • processResponse

        public boolean processResponse​(java.io.BufferedReader in)
                                throws java.io.IOException
        Description copied from interface: Exchange

        processResponse

        Specified by:
        processResponse in interface Exchange
        Parameters:
        in - a BufferedReader object.
        Returns:
        a boolean.
        Throws:
        java.io.IOException - if any.
      • sendRequest

        public boolean sendRequest​(java.io.OutputStream out)
                            throws java.io.IOException
        Description copied from interface: Exchange

        sendRequest

        Specified by:
        sendRequest in interface Exchange
        Parameters:
        out - a OutputStream object.
        Returns:
        a boolean.
        Throws:
        java.io.IOException - if any.
      • setResponseHandler

        public void setResponseHandler​(ResponseHandler responseHandler)
      • setRequestHandler

        public void setRequestHandler​(RequestHandler requestHandler)