com.prosysopc.ua.types.opcua
Interface FileType

All Superinterfaces:
BaseInstanceType, BaseObjectType, UaInstance, UaNode, UaObject
All Known Subinterfaces:
AddressSpaceFileType, TrustListType
All Known Implementing Classes:
AddressSpaceFileTypeImpl, AddressSpaceFileTypeImplBase, AddressSpaceFileTypeNode, AddressSpaceFileTypeNodeBase, FileTypeImpl, FileTypeImplBase, FileTypeNode, FileTypeNodeBase, TrustListTypeImpl, TrustListTypeImplBase, TrustListTypeNode, TrustListTypeNodeBase

public interface FileType
extends BaseObjectType

An object that represents a file that can be accessed via the server.

Generated on 2018-05-09 10:45:27


Field Summary
static String CLOSE
           
static String GET_POSITION
           
static String MIME_TYPE
           
static String OPEN
           
static String OPEN_COUNT
           
static String READ
           
static String SET_POSITION
           
static String SIZE
           
static String USER_WRITABLE
           
static String WRITABLE
           
static String WRITE
           
 
Method Summary
 void close(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)
           
 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.builtintypes.ByteString read(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)
           
 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)
           
 
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
 

Field Detail

SIZE

static final String SIZE
See Also:
Constant Field Values

WRITABLE

static final String WRITABLE
See Also:
Constant Field Values

USER_WRITABLE

static final String USER_WRITABLE
See Also:
Constant Field Values

OPEN_COUNT

static final String OPEN_COUNT
See Also:
Constant Field Values

MIME_TYPE

static final String MIME_TYPE
See Also:
Constant Field Values

OPEN

static final String OPEN
See Also:
Constant Field Values

CLOSE

static final String CLOSE
See Also:
Constant Field Values

READ

static final String READ
See Also:
Constant Field Values

WRITE

static final String WRITE
See Also:
Constant Field Values

GET_POSITION

static final String GET_POSITION
See Also:
Constant Field Values

SET_POSITION

static final String SET_POSITION
See Also:
Constant Field Values
Method Detail

getSizeNode

UaProperty getSizeNode()

getSize

org.opcfoundation.ua.builtintypes.UnsignedLong getSize()

setSize

void setSize(org.opcfoundation.ua.builtintypes.UnsignedLong value)
             throws StatusException
Throws:
StatusException

getWritableNode

UaProperty getWritableNode()

isWritable

Boolean isWritable()

setWritable

void setWritable(Boolean value)
                 throws StatusException
Throws:
StatusException

getUserWritableNode

UaProperty getUserWritableNode()

isUserWritable

Boolean isUserWritable()

setUserWritable

void setUserWritable(Boolean value)
                     throws StatusException
Throws:
StatusException

getOpenCountNode

UaProperty getOpenCountNode()

getOpenCount

org.opcfoundation.ua.builtintypes.UnsignedShort getOpenCount()

setOpenCount

void setOpenCount(org.opcfoundation.ua.builtintypes.UnsignedShort value)
                  throws StatusException
Throws:
StatusException

getMimeTypeNode

UaProperty getMimeTypeNode()

getMimeType

String getMimeType()

setMimeType

void setMimeType(String value)
                 throws StatusException
Throws:
StatusException

getOpenNode

UaMethod getOpenNode()

open

org.opcfoundation.ua.builtintypes.UnsignedInteger open(org.opcfoundation.ua.builtintypes.UnsignedByte mode)
                                                       throws StatusException,
                                                              ServiceException
Throws:
StatusException
ServiceException

getCloseNode

UaMethod getCloseNode()

close

void close(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
           throws StatusException,
                  ServiceException
Throws:
StatusException
ServiceException

getReadNode

UaMethod getReadNode()

read

org.opcfoundation.ua.builtintypes.ByteString read(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
                                                  Integer length)
                                                  throws StatusException,
                                                         ServiceException
Throws:
StatusException
ServiceException

getWriteNode

UaMethod getWriteNode()

write

void write(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
           org.opcfoundation.ua.builtintypes.ByteString data)
           throws StatusException,
                  ServiceException
Throws:
StatusException
ServiceException

getGetPositionNode

UaMethod getGetPositionNode()

getPosition

org.opcfoundation.ua.builtintypes.UnsignedLong getPosition(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
                                                           throws StatusException,
                                                                  ServiceException
Throws:
StatusException
ServiceException

getSetPositionNode

UaMethod getSetPositionNode()

setPosition

void setPosition(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle,
                 org.opcfoundation.ua.builtintypes.UnsignedLong position)
                 throws StatusException,
                        ServiceException
Throws:
StatusException
ServiceException


Copyright © 2018. All rights reserved.