From d9d08181a94d727a4fe5933ac9efd1ff5c8a7c5a Mon Sep 17 00:00:00 2001
From: liurunyu <lry9898@163.com>
Date: 星期三, 16 七月 2025 13:49:13 +0800
Subject: [PATCH] 中间件修改内容: 1、当没农业综合站时即没相关配置项目内容为空时,启动时会产生bug; 2、整理优化代码。

---
 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