com.prosysopc.ua.types.opcua.client
Class FileTypeImplBase

java.lang.Object
  extended by com.prosysopc.ua.nodes.AbstractUaNode
      extended by com.prosysopc.ua.client.nodes.UaNodeImpl
          extended by com.prosysopc.ua.client.nodes.UaInstanceImpl
              extended by com.prosysopc.ua.client.nodes.UaObjectImpl
                  extended by com.prosysopc.ua.types.opcua.client.BaseObjectTypeImpl
                      extended by 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


Field Summary
 
Fields inherited from class com.prosysopc.ua.client.nodes.UaNodeImpl
addressSpace, references, supportedAttributesMap
 
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)
           
 
Method Summary
 void close(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
           
 org.opcfoundation.ua.transport.AsyncResult<Void> closeAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
           
 UaMethod getCloseNode()
           
 UaMethod getGetPositionNode()
           
 String getMimeType()
           
 UaProperty getMimeTypeNode()
           
 org.opcfoundation.ua.builtintypes.UnsignedShort getOpenCount()
           
 UaProperty getOpenCountNode()
           
 UaMethod getOpenNode()
           
 org.opcfoundation.ua.builtintypes.UnsignedLong getPosition(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
           
 org.opcfoundation.ua.transport.AsyncResult<? extends org.opcfoundation.ua.builtintypes.UnsignedLong> getPositionAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
           
 UaMethod getReadNode()
           
 UaMethod getSetPositionNode()
           
 org.opcfoundation.ua.builtintypes.UnsignedLong getSize()
           
 UaProperty getSizeNode()
           
 UaProperty getUserWritableNode()
           
 UaProperty getWritableNode()
           
 UaMethod getWriteNode()
           
 Boolean isUserWritable()
           
 Boolean isWritable()
           
 org.opcfoundation.ua.builtintypes.UnsignedInteger open(org.opcfoundation.ua.builtintypes.UnsignedByte mode)
           
 org.opcfoundation.ua.transport.AsyncResult<? extends org.opcfoundation.ua.builtintypes.UnsignedInteger> openAsync(org.opcfoundation.ua.builtintypes.UnsignedByte mode)
           
 org.opcfoundation.ua.builtintypes.ByteString read(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle, Integer length)
           
 org.opcfoundation.ua.transport.AsyncResult<? extends org.opcfoundation.ua.builtintypes.ByteString> readAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle, Integer length)
           
 void setMimeType(String value)
           
 void setOpenCount(org.opcfoundation.ua.builtintypes.UnsignedShort value)
           
 void setPosition(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle, org.opcfoundation.ua.builtintypes.UnsignedLong position)
           
 org.opcfoundation.ua.transport.AsyncResult<Void> setPositionAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle, org.opcfoundation.ua.builtintypes.UnsignedLong position)
           
 void setSize(org.opcfoundation.ua.builtintypes.UnsignedLong value)
           
 void setUserWritable(Boolean value)
           
 void setWritable(Boolean value)
           
 void write(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle, org.opcfoundation.ua.builtintypes.ByteString data)
           
 org.opcfoundation.ua.transport.AsyncResult<Void> writeAsync(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle, org.opcfoundation.ua.builtintypes.ByteString data)
           
 
Methods inherited from class com.prosysopc.ua.types.opcua.client.BaseObjectTypeImpl
callMethod, callMethodAsync, getComponentId, getQualifiedName
 
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.UaInstanceImpl
getTypeDefinition, getTypeDefinitionId, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId
 
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 class com.prosysopc.ua.nodes.AbstractUaNode
getForwardReferences, getInverseReferences, getReferences, getReferences, getReferencesAsList, referenceTypeInherits
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.prosysopc.ua.types.opcua.BaseInstanceType
getQualifiedName
 
Methods inherited from interface com.prosysopc.ua.nodes.UaObject
callMethod, getEventNotifier, getIcon, setEventNotifier, setIcon
 
Methods inherited from interface com.prosysopc.ua.nodes.UaInstance
getTypeDefinition, getTypeDefinitionId, setTypeDefinition, setTypeDefinitionId, setTypeDefinitionId
 
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
 

Constructor Detail

FileTypeImplBase

protected FileTypeImplBase(AddressSpace addressSpace,
                           org.opcfoundation.ua.builtintypes.NodeId nodeId,
                           org.opcfoundation.ua.builtintypes.QualifiedName browseName,
                           org.opcfoundation.ua.builtintypes.LocalizedText displayName)
Method Detail

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.