Class RestInvocationAgent


  • public class RestInvocationAgent
    extends java.lang.Object
    Alternative to threaded execution for RestInvocationHelper, useful for simulation.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IInternalAccess agent
      The agent.
      protected java.lang.String json
      Receive json.
      protected java.util.Map<java.lang.String,​java.lang.Object> restargs
      Arguments for the REST call.
      protected java.lang.Exception resultexception
      Exception if it occurred.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      IFuture<java.lang.Void> execute()
      Performs the call.
      • Methods inherited from class java.lang.Object

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

      • restargs

        protected java.util.Map<java.lang.String,​java.lang.Object> restargs
        Arguments for the REST call.
      • json

        protected java.lang.String json
        Receive json.
      • resultexception

        protected java.lang.Exception resultexception
        Exception if it occurred.
    • Constructor Detail

      • RestInvocationAgent

        public RestInvocationAgent()
    • Method Detail

      • execute

        public IFuture<java.lang.Void> execute()
        Performs the call.