shikeying
2024-01-19 54ea586ece304ef2569a345c9b26b2a9b9702c8a
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.walker.security;
 
import java.util.List;
 
/**
 * 本地机器信息获取接口定义。
 * @author shikeying
 *
 */
public interface LocalSpider {
 
    /**
     * 获得本地的唯一标识,可以是网卡、ip、cup等信息
     * @return
     */
    String getMyIdentifier();
    
    /**
     * 返回多个本地标识集合,如:多个网卡ip等
     * @return
     */
    List<String> getMyIdentifiers();
}