本文整理匯總了Java中com.digitalpetri.opcua.stack.core.types.structured.DeleteNodesRequest類的典型用法代碼示例。如果您正苦於以下問題:Java DeleteNodesRequest類的具體用法?Java DeleteNodesRequest怎麽用?Java DeleteNodesRequest使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
DeleteNodesRequest類屬於com.digitalpetri.opcua.stack.core.types.structured包,在下文中一共展示了DeleteNodesRequest類的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: onDeleteNodes
import com.digitalpetri.opcua.stack.core.types.structured.DeleteNodesRequest; //導入依賴的package包/類
@Override
public void onDeleteNodes(ServiceRequest<DeleteNodesRequest, DeleteNodesResponse> service) throws UaException {
Session session = session(service);
session.getNodeManagementServices().onDeleteNodes(service);
}
示例2: onDeleteNodes
import com.digitalpetri.opcua.stack.core.types.structured.DeleteNodesRequest; //導入依賴的package包/類
@Override
public void onDeleteNodes(ServiceRequest<DeleteNodesRequest, DeleteNodesResponse> service) throws UaException {
deleteNodesMetric.record(service);
service.setServiceFault(Bad_ServiceUnsupported);
}
示例3: onDeleteNodes
import com.digitalpetri.opcua.stack.core.types.structured.DeleteNodesRequest; //導入依賴的package包/類
default void onDeleteNodes(ServiceRequest<DeleteNodesRequest, DeleteNodesResponse> serviceRequest) throws UaException {
serviceRequest.setServiceFault(Bad_ServiceUnsupported);
}
示例4: addServiceSet
import com.digitalpetri.opcua.stack.core.types.structured.DeleteNodesRequest; //導入依賴的package包/類
default void addServiceSet(NodeManagementServiceSet serviceSet) {
addRequestHandler(AddNodesRequest.class, serviceSet::onAddNodes);
addRequestHandler(DeleteNodesRequest.class, serviceSet::onDeleteNodes);
addRequestHandler(AddReferencesRequest.class, serviceSet::onAddReferences);
addRequestHandler(DeleteReferencesRequest.class, serviceSet::onDeleteReferences);
}