com.prosysopc.ua.types.opcua.server
Class TrustListTypeNodeBase
java.lang.Object
com.prosysopc.ua.nodes.AbstractUaNode
com.prosysopc.ua.server.nodes.ServerNode
com.prosysopc.ua.server.nodes.BaseNode
com.prosysopc.ua.server.nodes.UaInstanceNode
com.prosysopc.ua.server.nodes.UaObjectNode
com.prosysopc.ua.server.nodes.AbstractGeneratedObjectNode
com.prosysopc.ua.types.opcua.server.BaseObjectTypeNode
com.prosysopc.ua.types.opcua.server.FileTypeNodeBase
com.prosysopc.ua.types.opcua.server.FileTypeNode
com.prosysopc.ua.types.opcua.server.TrustListTypeNodeBase
- All Implemented Interfaces:
- UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, BaseInstanceType, BaseObjectType, FileType, TrustListType
- Direct Known Subclasses:
- TrustListTypeNode
public abstract class TrustListTypeNodeBase
- extends FileTypeNode
- implements TrustListType
Generated on 2018-05-09 10:46:24
| 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 |
TrustListTypeNodeBase(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
|
|
Method Summary |
void |
addCertificate(org.opcfoundation.ua.builtintypes.ByteString certificate,
Boolean isTrustedCertificate)
|
void |
afterCreate()
This method is called after NodeBuilder has constructed the instance, it is called for every
sub-node that also implement this interface |
org.opcfoundation.ua.builtintypes.Variant[] |
callMethod(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId methodId,
org.opcfoundation.ua.builtintypes.Variant[] inputArguments,
org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults,
org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
Fallback implementation when no subtype handles the method call. |
Boolean |
closeAndUpdate(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
|
static TrustListTypeAddCertificateMethod |
getAddCertificateMethodImplementation()
|
UaMethod |
getAddCertificateNode()
|
static TrustListTypeCloseAndUpdateMethod |
getCloseAndUpdateMethodImplementation()
|
UaMethod |
getCloseAndUpdateNode()
|
org.opcfoundation.ua.builtintypes.DateTime |
getLastUpdateTime()
|
UaProperty |
getLastUpdateTimeNode()
|
static TrustListTypeOpenWithMasksMethod |
getOpenWithMasksMethodImplementation()
|
UaMethod |
getOpenWithMasksNode()
|
static TrustListTypeRemoveCertificateMethod |
getRemoveCertificateMethodImplementation()
|
UaMethod |
getRemoveCertificateNode()
|
static GeneratedNodeInitializer<TrustListTypeNode> |
getTrustListTypeNodeInitializer()
|
protected abstract void |
onAddCertificate(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.ByteString certificate,
Boolean isTrustedCertificate)
|
protected abstract Boolean |
onCloseAndUpdate(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
|
protected abstract org.opcfoundation.ua.builtintypes.UnsignedInteger |
onOpenWithMasks(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger masks)
|
protected abstract void |
onRemoveCertificate(ServiceContext serviceContext,
String thumbprint,
Boolean isTrustedCertificate)
|
org.opcfoundation.ua.builtintypes.UnsignedInteger |
openWithMasks(org.opcfoundation.ua.builtintypes.UnsignedInteger masks)
|
void |
removeCertificate(String thumbprint,
Boolean isTrustedCertificate)
|
static void |
setAddCertificateMethodImplementation(TrustListTypeAddCertificateMethod addCertificateMethodImplementationNewValue)
|
static void |
setCloseAndUpdateMethodImplementation(TrustListTypeCloseAndUpdateMethod closeAndUpdateMethodImplementationNewValue)
|
void |
setLastUpdateTime(org.opcfoundation.ua.builtintypes.DateTime value)
|
static void |
setOpenWithMasksMethodImplementation(TrustListTypeOpenWithMasksMethod openWithMasksMethodImplementationNewValue)
|
static void |
setRemoveCertificateMethodImplementation(TrustListTypeRemoveCertificateMethod removeCertificateMethodImplementationNewValue)
|
static void |
setTrustListTypeNodeInitializer(GeneratedNodeInitializer<TrustListTypeNode> trustListTypeNodeInitializerNewValue)
|
| Methods inherited from class com.prosysopc.ua.types.opcua.server.FileTypeNode |
checkFileExists, close, getCurrentOpenCount, getCurrentPosition, getCurrentSize, getCurrentTimestamp, getFile, getRandomAccessFile, getTimestamp, isCurrentWritable, isWriting, onClose, onGetPosition, onOpen, onRead, onSetPosition, onWrite, open, read, setCurrentPosition, setCurrentWritable, setFile, setSize, updateFileSize, updateOpenCount, write |
| Methods inherited from class com.prosysopc.ua.types.opcua.server.FileTypeNodeBase |
close, getCloseMethodImplementation, getCloseNode, getFileTypeNodeInitializer, getGetPositionMethodImplementation, getGetPositionNode, getMimeType, getMimeTypeNode, getOpenCount, getOpenCountNode, getOpenMethodImplementation, getOpenNode, getPosition, getReadMethodImplementation, getReadNode, getSetPositionMethodImplementation, getSetPositionNode, getSize, getSizeNode, getUserWritableNode, getWritableNode, getWriteMethodImplementation, getWriteNode, isUserWritable, isWritable, open, read, setCloseMethodImplementation, setFileTypeNodeInitializer, setGetPositionMethodImplementation, setMimeType, setOpenCount, setOpenCount, setOpenMethodImplementation, setPosition, setReadMethodImplementation, setSetPositionMethodImplementation, setSize, setSize, setUserWritable, setWritable, setWriteMethodImplementation, write |
| Methods inherited from class com.prosysopc.ua.server.nodes.UaObjectNode |
addCallListener, callMethod, deleteIfNodeExists, getAttributes, getAttributes, getEventNotifier, getIcon, getNodeClass, initSupportedAttributes, readAttributeValue, removeCallListener, setAttributes, setEventNotifier, setIcon, toString, writeAttributeValue |
| Methods inherited from class com.prosysopc.ua.server.nodes.BaseNode |
addPlainProperty, addPlainVariable, assertTypeSupport, assertTypeSupport, createNodeId, createNodeId, createReflectiveInstanceProperty, createReflectiveInstanceProperty, deleteReference, deleteReference, doAddProperty, getAttributes, getBrowseName, getComponent, getComponents, getDescription, getDescription, getDisplayName, getDisplayName, getMethod, getNodeVersion, getNodeVersionValue, getProperties, getProperty, getPropertyValue, getReferencesAsList, getStandardBrowseName, getStandardDisplayText, getUserWriteMask, getWriteMask, hasProperty, hasReference, hasUserWriteAccess, hasWriteAccess, incNodeVersion, initNodeVersion, isChildOfType, readAttribute, readAttribute, registerCallbackProperty, registerPlainInstanceProperty, registerPlainInstanceProperty, registerPlainProperty, registerPlainProperty, registerPlainVariable, registerPlainVariable, registerReflectiveInstanceProperty, registerReflectiveInstanceVariable, registerReflectiveProperty, registerReflectiveVariable, removeProperty, setAccessLevelRecursively, setAccessLevelRecursively, setAttribute, setBrowseName, setDescription, setDisplayName, setNodeVersionValue, setPropertyValue, setUserWriteMask, setWriteMask, writeAttribute |
| Methods inherited from class com.prosysopc.ua.server.nodes.ServerNode |
addComponent, addDataChangeListener, addEventListener, addNewReference, addNewReference, addOrganizes, addProperties, addProperty, addReference, addReference, addReference, addReference, addReference, addReference, afterAddReference, afterDeleteReference, dataChange, deleteReference, deleteReference, deleteReferences, doDeleteReference, equals, findPlaceholders, fireDataChange, fireEvent, fireEventInParents, getAddressSpace, getDefaultBrowseName, getNodeId, getNodeManager, getReference, getReferenceList, getReferences, getSupportedAttributes, getTargetNodes, hashCode, isAddNotifierReferencesToServerObject, isFalseOrNull, isMandatory, isMonitoredForEvents, isTrueOrNull, isType, referenceTypeInherits, removeComponent, removeDataChangeListener, removeEventListener, setAddNotifierReferencesToServerObject, setReferences, supportsAttribute, translateBrowsePathToNodeIds, validateHasEventSourceChain, validateHasEventSourceChain |
| Methods inherited from interface com.prosysopc.ua.types.opcua.FileType |
close, getCloseNode, getGetPositionNode, getMimeType, getMimeTypeNode, getOpenCount, getOpenCountNode, getOpenNode, getPosition, getReadNode, getSetPositionNode, getSize, getSizeNode, getUserWritableNode, getWritableNode, getWriteNode, isUserWritable, isWritable, open, read, setMimeType, setOpenCount, setPosition, setSize, setUserWritable, setWritable, write |
| 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 |
TrustListTypeNodeBase
protected TrustListTypeNodeBase(NodeManagerUaNode nodeManager,
org.opcfoundation.ua.builtintypes.NodeId nodeId,
org.opcfoundation.ua.builtintypes.QualifiedName browseName,
org.opcfoundation.ua.builtintypes.LocalizedText displayName)
afterCreate
public void afterCreate()
- Description copied from interface:
GeneratedNode
- This method is called after NodeBuilder has constructed the instance, it is called for every
sub-node that also implement this interface
- Specified by:
afterCreate in interface GeneratedNode- Overrides:
afterCreate in class FileTypeNode
getTrustListTypeNodeInitializer
public static GeneratedNodeInitializer<TrustListTypeNode> getTrustListTypeNodeInitializer()
setTrustListTypeNodeInitializer
public static void setTrustListTypeNodeInitializer(GeneratedNodeInitializer<TrustListTypeNode> trustListTypeNodeInitializerNewValue)
getLastUpdateTimeNode
public UaProperty getLastUpdateTimeNode()
- Specified by:
getLastUpdateTimeNode in interface TrustListType
getLastUpdateTime
public org.opcfoundation.ua.builtintypes.DateTime getLastUpdateTime()
- Specified by:
getLastUpdateTime in interface TrustListType
setLastUpdateTime
public void setLastUpdateTime(org.opcfoundation.ua.builtintypes.DateTime value)
- Specified by:
setLastUpdateTime in interface TrustListType
callMethod
public org.opcfoundation.ua.builtintypes.Variant[] callMethod(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.NodeId methodId,
org.opcfoundation.ua.builtintypes.Variant[] inputArguments,
org.opcfoundation.ua.builtintypes.StatusCode[] inputArgumentResults,
org.opcfoundation.ua.builtintypes.DiagnosticInfo[] inputArgumentDiagnosticInfos)
throws StatusException
- Description copied from class:
UaObjectNode
- Fallback implementation when no subtype handles the method call.
- Specified by:
callMethod in interface UaCallable- Overrides:
callMethod in class FileTypeNodeBase
- Returns:
-
- Throws:
StatusException
getOpenWithMasksNode
public UaMethod getOpenWithMasksNode()
- Specified by:
getOpenWithMasksNode in interface TrustListType
onOpenWithMasks
protected abstract org.opcfoundation.ua.builtintypes.UnsignedInteger onOpenWithMasks(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger masks)
throws StatusException
- Throws:
StatusException
openWithMasks
public org.opcfoundation.ua.builtintypes.UnsignedInteger openWithMasks(org.opcfoundation.ua.builtintypes.UnsignedInteger masks)
throws StatusException
- Specified by:
openWithMasks in interface TrustListType
- Throws:
StatusException
getOpenWithMasksMethodImplementation
public static TrustListTypeOpenWithMasksMethod getOpenWithMasksMethodImplementation()
setOpenWithMasksMethodImplementation
public static void setOpenWithMasksMethodImplementation(TrustListTypeOpenWithMasksMethod openWithMasksMethodImplementationNewValue)
getCloseAndUpdateNode
public UaMethod getCloseAndUpdateNode()
- Specified by:
getCloseAndUpdateNode in interface TrustListType
onCloseAndUpdate
protected abstract Boolean onCloseAndUpdate(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
throws StatusException
- Throws:
StatusException
closeAndUpdate
public Boolean closeAndUpdate(org.opcfoundation.ua.builtintypes.UnsignedInteger fileHandle)
throws StatusException
- Specified by:
closeAndUpdate in interface TrustListType
- Throws:
StatusException
getCloseAndUpdateMethodImplementation
public static TrustListTypeCloseAndUpdateMethod getCloseAndUpdateMethodImplementation()
setCloseAndUpdateMethodImplementation
public static void setCloseAndUpdateMethodImplementation(TrustListTypeCloseAndUpdateMethod closeAndUpdateMethodImplementationNewValue)
getAddCertificateNode
public UaMethod getAddCertificateNode()
- Specified by:
getAddCertificateNode in interface TrustListType
onAddCertificate
protected abstract void onAddCertificate(ServiceContext serviceContext,
org.opcfoundation.ua.builtintypes.ByteString certificate,
Boolean isTrustedCertificate)
throws StatusException
- Throws:
StatusException
addCertificate
public void addCertificate(org.opcfoundation.ua.builtintypes.ByteString certificate,
Boolean isTrustedCertificate)
throws StatusException
- Specified by:
addCertificate in interface TrustListType
- Throws:
StatusException
getAddCertificateMethodImplementation
public static TrustListTypeAddCertificateMethod getAddCertificateMethodImplementation()
setAddCertificateMethodImplementation
public static void setAddCertificateMethodImplementation(TrustListTypeAddCertificateMethod addCertificateMethodImplementationNewValue)
getRemoveCertificateNode
public UaMethod getRemoveCertificateNode()
- Specified by:
getRemoveCertificateNode in interface TrustListType
onRemoveCertificate
protected abstract void onRemoveCertificate(ServiceContext serviceContext,
String thumbprint,
Boolean isTrustedCertificate)
throws StatusException
- Throws:
StatusException
removeCertificate
public void removeCertificate(String thumbprint,
Boolean isTrustedCertificate)
throws StatusException
- Specified by:
removeCertificate in interface TrustListType
- Throws:
StatusException
getRemoveCertificateMethodImplementation
public static TrustListTypeRemoveCertificateMethod getRemoveCertificateMethodImplementation()
setRemoveCertificateMethodImplementation
public static void setRemoveCertificateMethodImplementation(TrustListTypeRemoveCertificateMethod removeCertificateMethodImplementationNewValue)
Copyright © 2018. All rights reserved.