com.prosysopc.ua.types.opcua.client
Class FileTypeImplBase
java.lang.Object
com.prosysopc.ua.nodes.AbstractUaNode
com.prosysopc.ua.client.nodes.UaNodeImpl
com.prosysopc.ua.client.nodes.UaInstanceImpl
com.prosysopc.ua.client.nodes.UaObjectImpl
com.prosysopc.ua.types.opcua.client.BaseObjectTypeImpl
com.prosysopc.ua.types.opcua.client.FileTypeImplBase
- All Implemented Interfaces:
- UaInstance, UaNode, UaObject, BaseInstanceType, BaseObjectType, FileType
- Direct Known Subclasses:
- FileTypeImpl
public abstract class FileTypeImplBase
- extends BaseObjectTypeImpl
- implements FileType
An object that represents a file that can be accessed via the server.
Generated on 2018-05-09 10:45:27
| Fields inherited from interface com.prosysopc.ua.types.opcua.FileType |
CLOSE, GET_POSITION, MIME_TYPE, OPEN, OPEN_COUNT, READ, SET_POSITION, SIZE, USER_WRITABLE, WRITABLE, WRITE |
|
Constructor Summary |
protected |
FileTypeImplBase(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
|
| Methods inherited from class com.prosysopc.ua.client.nodes.UaObjectImpl |
addComponent, call, call, call, callAsync, callAsync, callAsync, callMethod, getAttributes, getAttributes, getEventNotifier, getIcon, getNodeClass, initSupportedAttributes, readAttributeValue, setAttributes, setEventNotifier, setIcon, toString, writeAttributeValue |
| Methods inherited from class com.prosysopc.ua.client.nodes.UaNodeImpl |
addProperties, addProperty, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, assertTypeSupport, assertTypeSupport, beforeAddReference, deleteReference, deleteReference, deleteReference, deleteReference, deleteReferences, doAddProperty, equals, findPlaceholders, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeId, getNodeVersion, getNodeVersionString, getProperties, getProperty, getPropertyValue, getReference, getReferenceList, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hashCode, hasProperty, hasTypeDefinition, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, referenceTypeInherits, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setNodeVersion, setPropertyValue, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute |
| Methods inherited from interface com.prosysopc.ua.nodes.UaNode |
addComponent, addProperty, addReference, addReference, addReference, deleteReference, deleteReference, deleteReference, deleteReference, getAddressSpace, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDisplayName, getForwardReferences, getInverseReferences, getMethod, getNodeClass, getNodeId, getNodeVersion, getProperties, getProperty, getReference, getReferences, getReferences, getSupportedAttributes, getUserWriteMask, getWriteMask, hasUserWriteAccess, hasWriteAccess, readAttribute, readAttribute, removeComponent, removeProperty, setAttribute, setAttributes, setBrowseName, setDescription, setDisplayName, setReferences, setUserWriteMask, setWriteMask, supportsAttribute, writeAttribute |
FileTypeImplBase
protected FileTypeImplBase(AddressSpace addressSpace,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
getSizeNode
public UaProperty getSizeNode()
- Specified by:
getSizeNode in interface FileType
getSize
public org.opcfoundation.ua.builtintypes.UnsignedLong getSize()
- Specified by:
getSize in interface FileType
setSize
public void setSize(org.opcfoundation.ua.builtintypes.UnsignedLong value)
throws StatusException
- Specified by:
setSize in interface FileType
- Throws:
StatusException
getWritableNode
public UaProperty getWritableNode()
- Specified by:
getWritableNode in interface FileType
isWritable
public Boolean isWritable()
- Specified by:
isWritable in interface FileType
setWritable
public void setWritable(Boolean value)
throws StatusException
- Specified by:
setWritable in interface FileType
- Throws:
StatusException
getUserWritableNode
public UaProperty getUserWritableNode()
- Specified by:
getUserWritableNode in interface FileType
isUserWritable
public Boolean isUserWritable()
- Specified by:
isUserWritable in interface FileType
setUserWritable
public void setUserWritable(Boolean value)
throws StatusException
- Specified by:
setUserWritable in interface FileType
- Throws:
StatusException
getOpenCountNode
public UaProperty getOpenCountNode()
- Specified by:
getOpenCountNode in interface FileType
getOpenCount
public org.opcfoundation.ua.builtintypes.UnsignedShort getOpenCount()
- Specified by:
getOpenCount in interface FileType
setOpenCount
public void setOpenCount(org.opcfoundation.ua.builtintypes.UnsignedShort value)
throws StatusException
- Specified by:
setOpenCount in interface FileType
- Throws:
StatusException
getMimeTypeNode
public UaProperty getMimeTypeNode()
- Specified by:
getMimeTypeNode in interface FileType
getMimeType
public String getMimeType()
- Specified by:
getMimeType in interface FileType
setMimeType
public void setMimeType(String value)
throws StatusException
- Specified by:
setMimeType in interface FileType
- Throws:
StatusException
getOpenNode
public UaMethod getOpenNode()
- Specified by:
getOpenNode in interface FileType
open
public org.opcfoundation.ua.builtintypes.UnsignedInteger open(org.opcfoundation.ua.builtintypes.UnsignedByte mode)
throws MethodCallStatusException,
ServiceException
- Specified by:
open in interface FileType
- Throws:
MethodCallStatusException
ServiceException
openAsync
public org.opcfoundation.ua.transport.AsyncResult<? extends org.opcfoundation.ua.builtintypes.UnsignedInteger> openAsync(org.opcfoundation.ua.builtintypes.UnsignedByte mode)
getCloseNode
public UaMethod getCloseNode()
- Specified by:
getCloseNode in interface FileType
close
public void close(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
throws MethodCallStatusException,
ServiceException
- Specified by:
close in interface FileType
- Throws:
MethodCallStatusException
ServiceException
closeAsync
public org.opcfoundation.ua.transport.AsyncResult<Void> closeAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
getReadNode
public UaMethod getReadNode()
- Specified by:
getReadNode in interface FileType
read
public org.opcfoundation.ua.builtintypes.ByteString read(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
Integer length)
throws MethodCallStatusException,
ServiceException
- Specified by:
read in interface FileType
- Throws:
MethodCallStatusException
ServiceException
readAsync
public org.opcfoundation.ua.transport.AsyncResult<? extends org.opcfoundation.ua.builtintypes.ByteString> readAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
Integer length)
getWriteNode
public UaMethod getWriteNode()
- Specified by:
getWriteNode in interface FileType
write
public void write(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
org.opcfoundation.ua.builtintypes.ByteString data)
throws MethodCallStatusException,
ServiceException
- Specified by:
write in interface FileType
- Throws:
MethodCallStatusException
ServiceException
writeAsync
public org.opcfoundation.ua.transport.AsyncResult<Void> writeAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
org.opcfoundation.ua.builtintypes.ByteString data)
getGetPositionNode
public UaMethod getGetPositionNode()
- Specified by:
getGetPositionNode in interface FileType
getPosition
public org.opcfoundation.ua.builtintypes.UnsignedLong getPosition(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
throws MethodCallStatusException,
ServiceException
- Specified by:
getPosition in interface FileType
- Throws:
MethodCallStatusException
ServiceException
getPositionAsync
public org.opcfoundation.ua.transport.AsyncResult<? extends org.opcfoundation.ua.builtintypes.UnsignedLong> getPositionAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
getSetPositionNode
public UaMethod getSetPositionNode()
- Specified by:
getSetPositionNode in interface FileType
setPosition
public void setPosition(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
org.opcfoundation.ua.builtintypes.UnsignedLong position)
throws MethodCallStatusException,
ServiceException
- Specified by:
setPosition in interface FileType
- Throws:
MethodCallStatusException
ServiceException
setPositionAsync
public org.opcfoundation.ua.transport.AsyncResult<Void> setPositionAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
org.opcfoundation.ua.builtintypes.UnsignedLong position)
Copyright © 2018. All rights reserved.