类 AServerInfos

java.lang.Object
com.cdkjframework.license.service.AServerInfos
直接已知子类:
LinuxServerInfos, WindowsServerInfos

public abstract class AServerInfos extends Object
  • 构造器详细资料

    • AServerInfos

      public AServerInfos()
  • 方法详细资料

    • getServerInfos

      public LicenseExtraEntity getServerInfos()

      组装需要额外校验的License参数

      返回:
      LicenseExtraParam 自定义校验参数
    • getIpAddress

      public List<String> getIpAddress() throws Exception

      获取IP地址

      返回:
      List IP地址
      抛出:
      Exception - 默认异常
    • getMacAddress

      public List<String> getMacAddress() throws Exception

      获取Mac地址

      返回:
      List Mac地址
      抛出:
      Exception - 默认异常
    • getServer

      public static AServerInfos getServer(String osName)

      获取服务器信息

      参数:
      osName - 系统类型
      返回:
      AGxServerInfos 服务信息
    • getServerTempPath

      public static String getServerTempPath()

      获取服务器临时磁盘位置