liurunyu
2025-05-07 9619e60e3075a432d692f3cd8b76787568c53aad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package com.dy.common.mw;
 
/**
 * 单元接口
 *
 */
public interface UnitInterface {
    /**
     * 设置适配器
     * @throws Exception
     */
    void setAdapter(UnitAdapterInterface adapter) throws Exception ;
    /**
     * 启动单元运行
     * @throws Exception
     */
    void start(UnitCallbackInterface callback) throws Exception  ;
    /**
     * 停止单元运行
     * @throws Exception
     */
    void stop(UnitCallbackInterface callback) throws Exception  ;
}