|
@@ -8,9 +8,31 @@ import com.phm.netty.domain.Message;
|
|
|
* @Date 2023/9/22 9:52
|
|
|
*/
|
|
|
public interface IProcessService {
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 通用指令处理
|
|
|
+ *
|
|
|
+ * @param message msg
|
|
|
+ * @return res
|
|
|
+ * @throws Exception exception
|
|
|
+ */
|
|
|
Message orderHandle(Message message) throws Exception;
|
|
|
|
|
|
+ /**
|
|
|
+ * 校时处理
|
|
|
+ *
|
|
|
+ * @param message msg
|
|
|
+ * @return res
|
|
|
+ * @throws Exception exception
|
|
|
+ */
|
|
|
Message timing(Message message) throws Exception;
|
|
|
|
|
|
+ /**
|
|
|
+ * 参数传递处理
|
|
|
+ *
|
|
|
+ * @param message msg
|
|
|
+ * @return res
|
|
|
+ * @throws Exception exception
|
|
|
+ */
|
|
|
Message getParameterConfig(Message message) throws Exception;
|
|
|
}
|