本文整理汇总了Java中com.digitalpetri.opcua.stack.core.StatusCodes.Bad_NotSupported方法的典型用法代码示例。如果您正苦于以下问题:Java StatusCodes.Bad_NotSupported方法的具体用法?Java StatusCodes.Bad_NotSupported怎么用?Java StatusCodes.Bad_NotSupported使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.digitalpetri.opcua.stack.core.StatusCodes
的用法示例。
在下文中一共展示了StatusCodes.Bad_NotSupported方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: addNode
import com.digitalpetri.opcua.stack.core.StatusCodes; //导入方法依赖的package包/类
default void addNode(AddNodesContext context, List<AddNodesItem> nodesToAdd) {
AddNodesResult result = new AddNodesResult(
new StatusCode(StatusCodes.Bad_NotSupported),
NodeId.NULL_VALUE);
context.complete(Collections.nCopies(nodesToAdd.size(), result));
}
示例2: deleteNode
import com.digitalpetri.opcua.stack.core.StatusCodes; //导入方法依赖的package包/类
default void deleteNode(DeleteNodesContext context, List<DeleteNodesItem> nodesToDelete) {
StatusCode statusCode = new StatusCode(StatusCodes.Bad_NotSupported);
context.complete(Collections.nCopies(nodesToDelete.size(), statusCode));
}
示例3: addReference
import com.digitalpetri.opcua.stack.core.StatusCodes; //导入方法依赖的package包/类
default void addReference(AddReferencesContext context, List<AddReferencesItem> referencesToAdd) {
StatusCode statusCode = new StatusCode(StatusCodes.Bad_NotSupported);
context.complete(Collections.nCopies(referencesToAdd.size(), statusCode));
}
示例4: deleteReference
import com.digitalpetri.opcua.stack.core.StatusCodes; //导入方法依赖的package包/类
default void deleteReference(DeleteReferencesContext context, List<DeleteReferencesItem> referencesToDelete) {
StatusCode statusCode = new StatusCode(StatusCodes.Bad_NotSupported);
context.complete(Collections.nCopies(referencesToDelete.size(), statusCode));
}