From ff3d35c172c5cf5f3ebf8ed710643f8038c3675b Mon Sep 17 00:00:00 2001 From: zhubaomin <zhubaomin> Date: 星期三, 07 五月 2025 11:27:52 +0800 Subject: [PATCH] Merge branch 'master' of http://8.140.179.55:20000/r/pipIrr-SV --- pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/rmi/RmiFrameWork.java | 31 +++++++++++++++++++++++++++++++ 1 files changed, 31 insertions(+), 0 deletions(-) diff --git a/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/rmi/RmiFrameWork.java b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/rmi/RmiFrameWork.java new file mode 100644 index 0000000..84eb81f --- /dev/null +++ b/pipIrr-platform/pipIrr-common/src/main/java/com/dy/common/mw/channel/rmi/RmiFrameWork.java @@ -0,0 +1,31 @@ +package com.dy.common.mw.channel.rmi; + +import java.rmi.Remote; +import java.rmi.RemoteException; + +public interface RmiFrameWork extends Remote { + + /** + * 鍏抽棴鏈嶅姟鐨勮姹� + * @return 鍛戒护缁撴灉鐨処D锛屽鏋滀负绌猴紝鍒欒鏄庡嚭閿� + * @throws RemoteException 寮傚父 + */ + String shutRequest() throws RemoteException; + + /** + * 寮傛璇锋眰 + * @param command 鍛戒护 + * @return 鍛戒护缁撴灉鐨処D锛屽鏋滀负绌猴紝鍒欒鏄庡嚭閿� + * @throws RemoteException 寮傚父 + */ + String asyncRequest(Object command) throws RemoteException; + + /** + * 鍚屾璇锋眰 + * @param command 鍛戒护 + * @return 鍛戒护缁撴灉锛屽鏋滀负绌猴紝鍒欒鏄庡嚭閿� + * @throws RemoteException 寮傚父 + */ + Object syncRequest(Object command) throws RemoteException; +} + -- Gitblit v1.8.0