Class FunctionMessageHandler

  • All Implemented Interfaces:
    step.grid.agent.handler.AgentContextAware, step.grid.agent.handler.MessageHandler

    public class FunctionMessageHandler
    extends step.grid.agent.handler.AbstractMessageHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addAdditionalMeasuresToOutput​(step.functions.io.Output<?> output, java.util.List<step.core.reports.Measure> additionalMeasures)  
      protected void addCustomTypeToOutputMeasures​(java.util.List<step.core.reports.Measure> outputMeasures)  
      protected java.util.Map<java.lang.String,​java.lang.Object> customMeasureData()  
      step.grid.io.OutputMessage handle​(step.grid.agent.tokenpool.AgentTokenWrapper token, step.grid.io.InputMessage inputMessage)  
      void init​(step.grid.agent.AgentTokenServices agentTokenServices)  
      • Methods inherited from class step.grid.agent.handler.AbstractMessageHandler

        buildPropertyMap, getFileVersionId, retrieveFileVersion
      • Methods inherited from class java.lang.Object

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

      • FunctionMessageHandler

        public FunctionMessageHandler()
    • Method Detail

      • init

        public void init​(step.grid.agent.AgentTokenServices agentTokenServices)
        Specified by:
        init in interface step.grid.agent.handler.AgentContextAware
        Overrides:
        init in class step.grid.agent.handler.AbstractMessageHandler
      • handle

        public step.grid.io.OutputMessage handle​(step.grid.agent.tokenpool.AgentTokenWrapper token,
                                                 step.grid.io.InputMessage inputMessage)
                                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addCustomTypeToOutputMeasures

        protected void addCustomTypeToOutputMeasures​(java.util.List<step.core.reports.Measure> outputMeasures)
      • addAdditionalMeasuresToOutput

        protected void addAdditionalMeasuresToOutput​(step.functions.io.Output<?> output,
                                                     java.util.List<step.core.reports.Measure> additionalMeasures)
      • customMeasureData

        protected java.util.Map<java.lang.String,​java.lang.Object> customMeasureData()