|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Object com.supermap.data.EducationLicense
public class EducationLicense
public static void main(String[] args) { // 登录教育版许可 EducationLicense.login(); // 连接教育版许可中的许可模块,验证教育版许可获取是否成功,成功返回0 License lic = new License(); int code = lic.connect(10002); System.out.println("code = " + code); // 退出教育版许可 EducationLicense.logout(); // 再次连接许可模块,验证教育版许可是否已经无效,返回值应该为非0值 code = lic.connect(10002); System.out.println("code = " + code); System.out.println("end"); }
构造方法摘要 | |
---|---|
EducationLicense()
已过时。 |
方法摘要 | |
---|---|
static boolean |
isDebugEnable()
已过时。 返回是否启用调试模式,true表示启用。 |
static boolean |
login()
已过时。 登录教育版许可。 |
static boolean |
login(java.lang.String serverHost)
已过时。 按照指定的服务器地址登录教育版许可。 |
static void |
logout()
已过时。 退出教育版许可。 |
static void |
setAutoUpdateInterval(long milliseconds)
已过时。 设置许可自动更新的时间间隔。 |
static void |
setDebugEnable(boolean isDebug)
已过时。 设置是否启用调试模式,true表示启用。 |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
构造方法详细信息 |
---|
public EducationLicense()
方法详细信息 |
---|
public static boolean login()
public static boolean login(java.lang.String serverHost)
serverHost
- 指定的服务器地址。
public static void setAutoUpdateInterval(long milliseconds)
milliseconds
- 指定自动更新间隔的时间,单位为:毫秒。public static void logout()
public static boolean isDebugEnable()
public static void setDebugEnable(boolean isDebug)
isDebug
- 一个布尔值,指示是否启用调试模式,true表示启用。
|
|||||||||
上一个类 下一个类 | 框架 无框架 | ||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |