com.prosysopc.ua.types.di.server
Class LockingServicesTypeNodeBase
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.di.server.LockingServicesTypeNodeBase
- All Implemented Interfaces:
- UaInstance, UaNode, UaObject, GeneratedNode, UaCallable, LockingServicesType, BaseInstanceType, BaseObjectType
- Direct Known Subclasses:
- LockingServicesTypeNode
public abstract class LockingServicesTypeNodeBase
- extends BaseObjectTypeNode
- implements LockingServicesType
An interface for Locking.
Generated on 2018-05-09 10:46:26
|
Constructor Summary |
protected |
LockingServicesTypeNodeBase(NodeManagerUaNode nodeManager,
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.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.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 |
LockingServicesTypeNodeBase
protected LockingServicesTypeNodeBase(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 BaseObjectTypeNode
getLockingServicesTypeNodeInitializer
public static GeneratedNodeInitializer<LockingServicesTypeNode> getLockingServicesTypeNodeInitializer()
setLockingServicesTypeNodeInitializer
public static void setLockingServicesTypeNodeInitializer(GeneratedNodeInitializer<LockingServicesTypeNode> lockingServicesTypeNodeInitializerNewValue)
getLockedNode
public UaProperty getLockedNode()
- Specified by:
getLockedNode in interface LockingServicesType
isLocked
public Boolean isLocked()
- Specified by:
isLocked in interface LockingServicesType
setLocked
public void setLocked(Boolean value)
- Specified by:
setLocked in interface LockingServicesType
getLockingClientNode
public UaProperty getLockingClientNode()
- Specified by:
getLockingClientNode in interface LockingServicesType
getLockingClient
public String getLockingClient()
- Specified by:
getLockingClient in interface LockingServicesType
setLockingClient
public void setLockingClient(String value)
- Specified by:
setLockingClient in interface LockingServicesType
getLockingUserNode
public UaProperty getLockingUserNode()
- Specified by:
getLockingUserNode in interface LockingServicesType
getLockingUser
public String getLockingUser()
- Specified by:
getLockingUser in interface LockingServicesType
setLockingUser
public void setLockingUser(String value)
- Specified by:
setLockingUser in interface LockingServicesType
getRemainingLockTimeNode
public UaProperty getRemainingLockTimeNode()
- Specified by:
getRemainingLockTimeNode in interface LockingServicesType
getRemainingLockTime
public Double getRemainingLockTime()
- Specified by:
getRemainingLockTime in interface LockingServicesType
setRemainingLockTime
public void setRemainingLockTime(Double value)
- Specified by:
setRemainingLockTime in interface LockingServicesType
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 UaObjectNode
- Returns:
-
- Throws:
StatusException
getInitLockNode
public UaMethod getInitLockNode()
- Specified by:
getInitLockNode in interface LockingServicesType
onInitLock
protected abstract Integer onInitLock(ServiceContext serviceContext,
String currentContext)
throws StatusException
- Throws:
StatusException
initLock
public Integer initLock(String currentContext)
throws StatusException
- Specified by:
initLock in interface LockingServicesType
- Throws:
StatusException
getInitLockMethodImplementation
public static LockingServicesTypeInitLockMethod getInitLockMethodImplementation()
setInitLockMethodImplementation
public static void setInitLockMethodImplementation(LockingServicesTypeInitLockMethod initLockMethodImplementationNewValue)
getRenewLockNode
public UaMethod getRenewLockNode()
- Specified by:
getRenewLockNode in interface LockingServicesType
onRenewLock
protected abstract Integer onRenewLock(ServiceContext serviceContext)
throws StatusException
- Throws:
StatusException
renewLock
public Integer renewLock()
throws StatusException
- Specified by:
renewLock in interface LockingServicesType
- Throws:
StatusException
getRenewLockMethodImplementation
public static LockingServicesTypeRenewLockMethod getRenewLockMethodImplementation()
setRenewLockMethodImplementation
public static void setRenewLockMethodImplementation(LockingServicesTypeRenewLockMethod renewLockMethodImplementationNewValue)
getExitLockNode
public UaMethod getExitLockNode()
- Specified by:
getExitLockNode in interface LockingServicesType
onExitLock
protected abstract Integer onExitLock(ServiceContext serviceContext)
throws StatusException
- Throws:
StatusException
exitLock
public Integer exitLock()
throws StatusException
- Specified by:
exitLock in interface LockingServicesType
- Throws:
StatusException
getExitLockMethodImplementation
public static LockingServicesTypeExitLockMethod getExitLockMethodImplementation()
setExitLockMethodImplementation
public static void setExitLockMethodImplementation(LockingServicesTypeExitLockMethod exitLockMethodImplementationNewValue)
getBreakLockNode
public UaMethod getBreakLockNode()
- Specified by:
getBreakLockNode in interface LockingServicesType
onBreakLock
protected abstract Integer onBreakLock(ServiceContext serviceContext)
throws StatusException
- Throws:
StatusException
breakLock
public Integer breakLock()
throws StatusException
- Specified by:
breakLock in interface LockingServicesType
- Throws:
StatusException
getBreakLockMethodImplementation
public static LockingServicesTypeBreakLockMethod getBreakLockMethodImplementation()
setBreakLockMethodImplementation
public static void setBreakLockMethodImplementation(LockingServicesTypeBreakLockMethod breakLockMethodImplementationNewValue)
Copyright © 2018. All rights reserved.