Class SystemUtilities.RequestImpl

    • Constructor Detail

      • RequestImpl

        public RequestImpl​(int timeout)
    • Method Detail

      • getLongId

        public long getLongId()
      • checkTimeout

        public void checkTimeout()
      • onSuccess

        public void onSuccess​(org.python.core.PyFunction func)
        Specified by:
        onSuccess in interface Request
      • onError

        public void onError​(org.python.core.PyFunction func)
        Specified by:
        onError in interface Request
      • startTime

        protected long startTime()
      • internalWait

        protected void internalWait()
      • internalOperationCompleted

        protected void internalOperationCompleted()
      • finishSuccessfully

        public void finishSuccessfully​(java.lang.Object value)
      • dispatchFunc

        protected void dispatchFunc()
      • finishExceptionally

        public void finishExceptionally​(java.lang.Exception e)
      • get

        public java.lang.Object get()
                             throws java.lang.Exception
        Specified by:
        get in interface Request
        Throws:
        java.lang.Exception
      • cancel

        public void cancel()
        Specified by:
        cancel in interface Request
      • getError

        public java.lang.Exception getError()
        Specified by:
        getError in interface Request