Class CallMethod

  • All Implemented Interfaces:
    org.eclipse.milo.opcua.sdk.server.api.methods.MethodInvocationHandler

    public class CallMethod
    extends org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler

        org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler.InvocationContext
      • Nested classes/interfaces inherited from interface org.eclipse.milo.opcua.sdk.server.api.methods.MethodInvocationHandler

        org.eclipse.milo.opcua.sdk.server.api.methods.MethodInvocationHandler.NodeIdUnknownHandler, org.eclipse.milo.opcua.sdk.server.api.methods.MethodInvocationHandler.NotImplementedHandler
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.eclipse.milo.opcua.stack.core.types.structured.Argument IN  
      static org.eclipse.milo.opcua.stack.core.types.structured.Argument OUT  
      • Fields inherited from interface org.eclipse.milo.opcua.sdk.server.api.methods.MethodInvocationHandler

        NODE_ID_UNKNOWN, NOT_IMPLEMENTED
    • Constructor Summary

      Constructors 
      Constructor Description
      CallMethod​(org.eclipse.milo.opcua.sdk.server.nodes.UaMethodNode node)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.milo.opcua.stack.core.types.structured.Argument[] getInputArguments()  
      org.eclipse.milo.opcua.stack.core.types.structured.Argument[] getOutputArguments()  
      protected org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] invoke​(org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler.InvocationContext invocationContext, org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputValues)  
      • Methods inherited from class org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler

        checkExecutableAttributes, getNode, invoke
    • Field Detail

      • IN

        public static final org.eclipse.milo.opcua.stack.core.types.structured.Argument IN
      • OUT

        public static final org.eclipse.milo.opcua.stack.core.types.structured.Argument OUT
    • Constructor Detail

      • CallMethod

        public CallMethod​(org.eclipse.milo.opcua.sdk.server.nodes.UaMethodNode node)
    • Method Detail

      • getInputArguments

        public org.eclipse.milo.opcua.stack.core.types.structured.Argument[] getInputArguments()
        Specified by:
        getInputArguments in class org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler
      • getOutputArguments

        public org.eclipse.milo.opcua.stack.core.types.structured.Argument[] getOutputArguments()
        Specified by:
        getOutputArguments in class org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler
      • invoke

        protected org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] invoke​(org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler.InvocationContext invocationContext,
                                                                                   org.eclipse.milo.opcua.stack.core.types.builtin.Variant[] inputValues)
        Specified by:
        invoke in class org.eclipse.milo.opcua.sdk.server.api.methods.AbstractMethodInvocationHandler