Class Conversation.ErrorExchange

  • All Implemented Interfaces:
    Exchange
    Enclosing class:
    Conversation

    public static class Conversation.ErrorExchange
    extends java.lang.Object
    implements Exchange
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorExchange()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean matchResponseByString​(java.lang.String response)
      matchResponseByString
      boolean processResponse​(java.io.BufferedReader in)
      processResponse
      boolean sendRequest​(java.io.OutputStream out)
      sendRequest
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorExchange

        public ErrorExchange()
    • 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.