Class AbstractRestPublishService.ConversationInfo

  • Enclosing class:
    AbstractRestPublishService

    public static class AbstractRestPublishService.ConversationInfo
    extends java.lang.Object
    Struct for storing info about a request and the results.
    • Field Detail

      • terminated

        protected boolean terminated
      • future

        protected IFuture<?> future
      • sessionid

        protected java.lang.String sessionid
    • Constructor Detail

      • ConversationInfo

        public ConversationInfo​(java.lang.String sessionid)
        Create a request info.
    • Method Detail

      • setTerminated

        public void setTerminated​(boolean term)
        Set it to terminated.
      • isTerminated

        public boolean isTerminated()
        Check if terminated
        Returns:
        True if terminated.
      • getFuture

        public IFuture<?> getFuture()
        Get the future.
        Returns:
        the future
      • setFuture

        public void setFuture​(IFuture<?> future)
        Parameters:
        future - the future to set
      • getSessionId

        public java.lang.String getSessionId()
        Returns:
        the session
      • setSessionId

        public void setSessionId​(java.lang.String sessionid)
        Parameters:
        session - the session to set
      • isIntermediateFuture

        public boolean isIntermediateFuture()
        Test if it is an intermediate future.
        Returns:
        True, if is intermediate future.