Class LineConversation


  • public class LineConversation
    extends java.lang.Object

    LineConversation class.

    Version:
    $Id: $
    Author:
    Donald Desloge
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addRequestHandler​(java.lang.String request, java.lang.String response)
      addRequestHandler
      java.lang.String getBanner()
      getBanner
      java.lang.String getExpectedClose()
      getExpectedClose
      java.lang.String getExpectedCloseResponse()
      getExpectedCloseResponse
      java.lang.String getResponse​(java.lang.String request)
      getResponse
      boolean hasBanner()
      hasBanner
      void setBanner​(java.lang.String banner)
      setBanner
      void setExpectedClose​(java.lang.String closeRequest)
      setExpectedClose
      void setExpectedClose​(java.lang.String closeRequest, java.lang.String closeResponse)
      setExpectedClose
      • Methods inherited from class java.lang.Object

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

      • LineConversation

        public LineConversation()
    • Method Detail

      • setBanner

        public void setBanner​(java.lang.String banner)

        setBanner

        Parameters:
        banner - a String object.
      • getBanner

        public java.lang.String getBanner()

        getBanner

        Returns:
        a String object.
      • setExpectedClose

        public void setExpectedClose​(java.lang.String closeRequest)

        setExpectedClose

        Parameters:
        closeRequest - a String object.
      • setExpectedClose

        public void setExpectedClose​(java.lang.String closeRequest,
                                     java.lang.String closeResponse)

        setExpectedClose

        Parameters:
        closeRequest - a String object.
        closeResponse - a String object.
      • getExpectedClose

        public java.lang.String getExpectedClose()

        getExpectedClose

        Returns:
        a String object.
      • getExpectedCloseResponse

        public java.lang.String getExpectedCloseResponse()

        getExpectedCloseResponse

        Returns:
        a String object.
      • addRequestHandler

        public void addRequestHandler​(java.lang.String request,
                                      java.lang.String response)

        addRequestHandler

        Parameters:
        request - a String object.
        response - a String object.
      • getResponse

        public java.lang.String getResponse​(java.lang.String request)

        getResponse

        Parameters:
        request - a String object.
        Returns:
        a String object.
      • hasBanner

        public boolean hasBanner()

        hasBanner

        Returns:
        a boolean.