public abstract class AbstractServerInfos extends Object
| 构造器和说明 |
|---|
AbstractServerInfos() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected abstract String |
getCPUSerial()
获取CPU序列号
|
protected abstract List<String> |
getIpAddress()
获取IP地址
|
protected List<InetAddress> |
getLocalAllInetAddress()
获取当前服务器所有符合条件的InetAddress
|
protected abstract List<String> |
getMacAddress()
获取Mac地址
|
protected String |
getMacByInetAddress(InetAddress inetAddr)
获取某个网络接口的Mac地址
|
protected abstract String |
getMainBoardSerial()
获取主板序列号
|
LicenseCheckModel |
getServerInfos()
组装需要额外校验的License参数
|
public LicenseCheckModel getServerInfos()
protected abstract List<String> getIpAddress() throws Exception
Exceptionprotected abstract List<String> getMacAddress() throws Exception
Exceptionprotected abstract String getCPUSerial() throws Exception
Exceptionprotected abstract String getMainBoardSerial() throws Exception
Exceptionprotected List<InetAddress> getLocalAllInetAddress() throws Exception
Exceptionprotected String getMacByInetAddress(InetAddress inetAddr)
Copyright © 2024. All rights reserved.