當前位置: 首頁>>代碼示例>>Java>>正文


Java DeleteNodesRequest類代碼示例

本文整理匯總了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);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:7,代碼來源:SessionManager.java

示例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);
}
 
開發者ID:digitalpetri,項目名稱:ua-server-sdk,代碼行數:7,代碼來源:NodeManagementServices.java

示例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);
}
 
開發者ID:digitalpetri,項目名稱:opc-ua-stack,代碼行數:4,代碼來源:NodeManagementServiceSet.java

示例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);
}
 
開發者ID:digitalpetri,項目名稱:opc-ua-stack,代碼行數:7,代碼來源:UaStackServer.java


注:本文中的com.digitalpetri.opcua.stack.core.types.structured.DeleteNodesRequest類示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。