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

📄 messdellancia.java

📁 一个agent 工具包,可以开发移动设备应用,考虑了安全措施
💻 JAVA
字号:
/**  MessDelLancia
 *     Messaggio DAL "DelegatePlace" VERSO L'"AcceptPlace" per il LANCIO di un agente.
 *     @autore     Luigi Antenucci
 *     @versione   1.0
 *     @linguaggio jdk 1.2.2
 */

package SOMA.gui.remotegui;


public class MessDelLancia extends MessDel {

      /**
       *  Contenuto informativo del messaggio (i dati).
       *  Sono pubblici: li faccio modificabili per non dover costruire un
       *  eccessivo numero di metodi di lettura modificabili ("oggetto come valore").
       */
  public String nomeAgente;
  public String[] arrParam;
  public boolean usaSysClassLoader;
  public boolean rintracciabile;
  public boolean nonFarloPartire;

      /**
       *  Creazione del messaggio.
       */
  public MessDelLancia (String nomeAgente, String[] arrParam,
                        boolean usaSysClassLoader, boolean rintracciabile, 
                        boolean nonFarloPartire) {
    this.nomeAgente = nomeAgente;
    this.arrParam   = arrParam;
    this.usaSysClassLoader = usaSysClassLoader;
    this.rintracciabile    = rintracciabile;
    this.nonFarloPartire   = nonFarloPartire;
  } //costruttore

      /**
       *  Visualizzazione in stringa del messaggio.
       */
  public String toString () {
    String S = getClass().getName()+ "< "+nomeAgente+"(";
    int L = arrParam.length;
    for (int i=0; i<L; i++) {
      S = S + arrParam[i];
      if (i < (L-1))
        S = S + ",";
    } //for
    S = S + ") ";
    if (usaSysClassLoader) S = S + "SysCL ";
    if (! rintracciabile)  S = S + "NoTrace ";
    if (nonFarloPartire)   S = S + "NoRun ";
    S = S + ">";
    return S;
  } //toString

} //MessDelLancia

⌨️ 快捷键说明

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