public abstract class CreateFileMethod extends AbstractMethodInvocationHandler
AbstractMethodInvocationHandler.InvocationContextMethodInvocationHandler.NodeIdUnknownHandler, MethodInvocationHandler.NotImplementedHandler| Modifier and Type | Field and Description |
|---|---|
static Argument |
FILE_HANDLE |
static Argument |
FILE_NAME |
static Argument |
FILE_NODE_ID |
static Argument |
REQUEST_FILE_OPEN |
NODE_ID_UNKNOWN, NOT_IMPLEMENTED| Constructor and Description |
|---|
CreateFileMethod(UaMethodNode node) |
| Modifier and Type | Method and Description |
|---|---|
Argument[] |
getInputArguments()
Get the input
Arguments expected by the Method this handler is installed on. |
Argument[] |
getOutputArguments()
Get the output
Arguments expected by the Method this handler is installed on. |
protected abstract void |
invoke(AbstractMethodInvocationHandler.InvocationContext context,
String fileName,
Boolean requestFileOpen,
Out<NodeId> fileNodeId,
Out<UInteger> fileHandle) |
protected Variant[] |
invoke(AbstractMethodInvocationHandler.InvocationContext context,
Variant[] inputValues)
Invoke this method and return the values for its output arguments, if any.
|
checkExecutableAttributes, getNode, invoke, validateInputArgumentValuespublic static final Argument FILE_NAME
public static final Argument REQUEST_FILE_OPEN
public static final Argument FILE_NODE_ID
public static final Argument FILE_HANDLE
public CreateFileMethod(UaMethodNode node)
public Argument[] getInputArguments()
AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.getInputArguments in class AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.public Argument[] getOutputArguments()
AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.getOutputArguments in class AbstractMethodInvocationHandlerArguments expected by the Method this handler is installed on.protected Variant[] invoke(AbstractMethodInvocationHandler.InvocationContext context, Variant[] inputValues) throws UaException
AbstractMethodInvocationHandlerThe Executable and UserExecutable attributes have already been checked to ensure this method is allowed to execute.
invoke in class AbstractMethodInvocationHandlercontext - the AbstractMethodInvocationHandler.InvocationContext.inputValues - the user-supplied values for the input arguments. Each value has been verified to be of
the type specified by its Argument.UaException - if invocation has failed for some reason.protected abstract void invoke(AbstractMethodInvocationHandler.InvocationContext context, String fileName, Boolean requestFileOpen, Out<NodeId> fileNodeId, Out<UInteger> fileHandle) throws UaException
UaExceptionCopyright © 2021. All rights reserved.