⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 updatepolicy.java

📁 一个agent 工具包,可以开发移动设备应用,考虑了安全措施
💻 JAVA
字号:
package SOMA.security.infrastructure.updatePolicy;

public abstract class UpdatePolicy {

    // Sleeping Time in milli second
    protected long SleepTime = 90000;

    protected boolean localControl = true;

    public String updatePolicy = "Abstract Update Policy";

    public UpdatePolicy ( String msg )
    {
      this.updatePolicy = msg;
    }

    public boolean update ()
    {
        return true;
    }

    /** this value is setting into a class
      * and the developer must chose if it
      * can changed at runtime.
      * If is true the place contact the
      * server at one time.
      */
    public boolean getLocalControl ()
    {
        return localControl;
    }

    public String toString ()
    {
      return updatePolicy;
    }

    public long getSleepTime ()
    {
      return SleepTime;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -