Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

art0.world
Class plauncher  view plauncher download plauncher.java

java.lang.Object
  extended byart0.world.plauncher

public class plauncher
extends java.lang.Object

La clase plauncher implementa una clase auxiliar para la aplicación lanzadora de agentes

Version:
$Date: 23-04-2002

Field Summary
static int ART0_SERVER_REMOTEURL
           
static int AUTHOR_STORE_PATH
           
static int BEING_TYPES_LIST
           
private  java.util.Vector beings_launched
           
static int BEINGS_PATH
           
static java.lang.String CFG_BEGIN_TAG
           
static java.lang.String CFG_END_TAG
           
private  java.lang.String[] CFG_Values
           
static int CHATLOG_PATH
           
static int CHECK_UPDATE_NOTE_FILE
           
static int CHECK_UPDATE_NOTE_REMOTEURL
           
private  java.lang.Thread CThread
           
static java.lang.String DEFAULT_CFG_FILENAME
           
static int HTTP_AP
           
private  AgentContainer JPLATac
           
static int MAIN_HOST
           
static int MAIN_PORT
           
static int MINDS_PATH
           
static int PLATFORM_ID
           
static int ROAD_BOOK_LIST
           
static int SPREAD_STORE_PATH
           
static int WORLDS_PATH
           
 
Constructor Summary
plauncher()
           
 
Method Summary
 boolean AdquireCFG()
           
 boolean AdquireCFG(java.lang.String CFGFile_name)
           
 java.util.Vector getBL()
           
 int getBLNumber()
           
 java.lang.String getCFG_Value(int value_id)
           
 java.lang.String[] getCFG_Values()
           
 boolean launch_AP4HTTP(java.lang.String httpStr)
           
 void launch_auxbeing(java.lang.String ag_name, jade.core.Agent a)
          Activa un agente auxiliar (realizan su trabajo y mueren, no necesitan supervisión)
 void launch_being(beingdescript b2ld)
          Activa un agente
 void launch_being(java.lang.String ag_name, jade.core.Agent a)
          Activa un agente
 void launch_beings(java.util.Vector b2l)
          Activa los agentes almacenados en una lista
 int[] launch_beingsStates()
          Devuelve información sobre el estado de los agentes
 boolean launch_isAliveBeing(java.lang.String b2qisa)
          Is alive question
 void launch_kill()
          Kill agents
 void launch_killbeing(java.lang.String b2bkn)
          Kill agent
 boolean launch_notify(boolean up)
          informs notify server of up or down in action (by sending connection to server) The notification is done with the art0CounterLet
 boolean launch_start(boolean ExitClose)
          Esta función lanza un contenedor asociado a una plataforma de agentes
 boolean launch_start(java.lang.String Main_Host, java.lang.String Main_Port, java.lang.String Platform_ID, boolean ExitClose)
          Esta función lanza un contenedor asociado a una plataforma de agentes
 void launch_stop()
          Cierra el contenedor asociado
 boolean ProduceCFG()
           
 boolean ProduceCFG(java.lang.String CFGFile_name)
           
 void setCFG_Value(int value_id, java.lang.String value_value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beings_launched

private java.util.Vector beings_launched

MAIN_HOST

public static final int MAIN_HOST
See Also:
Constant Field Values

MAIN_PORT

public static final int MAIN_PORT
See Also:
Constant Field Values

PLATFORM_ID

public static final int PLATFORM_ID
See Also:
Constant Field Values

HTTP_AP

public static final int HTTP_AP
See Also:
Constant Field Values

ROAD_BOOK_LIST

public static final int ROAD_BOOK_LIST
See Also:
Constant Field Values

MINDS_PATH

public static final int MINDS_PATH
See Also:
Constant Field Values

BEINGS_PATH

public static final int BEINGS_PATH
See Also:
Constant Field Values

WORLDS_PATH

public static final int WORLDS_PATH
See Also:
Constant Field Values

AUTHOR_STORE_PATH

public static final int AUTHOR_STORE_PATH
See Also:
Constant Field Values

SPREAD_STORE_PATH

public static final int SPREAD_STORE_PATH
See Also:
Constant Field Values

CHATLOG_PATH

public static final int CHATLOG_PATH
See Also:
Constant Field Values

CHECK_UPDATE_NOTE_REMOTEURL

public static final int CHECK_UPDATE_NOTE_REMOTEURL
See Also:
Constant Field Values

CHECK_UPDATE_NOTE_FILE

public static final int CHECK_UPDATE_NOTE_FILE
See Also:
Constant Field Values

ART0_SERVER_REMOTEURL

public static final int ART0_SERVER_REMOTEURL
See Also:
Constant Field Values

BEING_TYPES_LIST

public static final int BEING_TYPES_LIST
See Also:
Constant Field Values

CFG_BEGIN_TAG

public static java.lang.String CFG_BEGIN_TAG

CFG_END_TAG

public static java.lang.String CFG_END_TAG

DEFAULT_CFG_FILENAME

public static java.lang.String DEFAULT_CFG_FILENAME

CFG_Values

private java.lang.String[] CFG_Values

JPLATac

private AgentContainer JPLATac

CThread

private java.lang.Thread CThread
Constructor Detail

plauncher

public plauncher()
Method Detail

getBL

public java.util.Vector getBL()

getBLNumber

public int getBLNumber()

getCFG_Values

public java.lang.String[] getCFG_Values()

getCFG_Value

public java.lang.String getCFG_Value(int value_id)

setCFG_Value

public void setCFG_Value(int value_id,
                         java.lang.String value_value)

AdquireCFG

public boolean AdquireCFG()

AdquireCFG

public boolean AdquireCFG(java.lang.String CFGFile_name)

ProduceCFG

public boolean ProduceCFG()

ProduceCFG

public boolean ProduceCFG(java.lang.String CFGFile_name)

launch_start

public boolean launch_start(java.lang.String Main_Host,
                            java.lang.String Main_Port,
                            java.lang.String Platform_ID,
                            boolean ExitClose)
Esta función lanza un contenedor asociado a una plataforma de agentes


launch_start

public boolean launch_start(boolean ExitClose)
Esta función lanza un contenedor asociado a una plataforma de agentes


launch_AP4HTTP

public boolean launch_AP4HTTP(java.lang.String httpStr)

launch_notify

public boolean launch_notify(boolean up)
informs notify server of up or down in action (by sending connection to server) The notification is done with the art0CounterLet


launch_beings

public void launch_beings(java.util.Vector b2l)
                   throws java.lang.Exception
Activa los agentes almacenados en una lista


launch_being

public void launch_being(java.lang.String ag_name,
                         jade.core.Agent a)
                  throws java.lang.Exception
Activa un agente


launch_auxbeing

public void launch_auxbeing(java.lang.String ag_name,
                            jade.core.Agent a)
                     throws java.lang.Exception
Activa un agente auxiliar (realizan su trabajo y mueren, no necesitan supervisión)


launch_being

public void launch_being(beingdescript b2ld)
                  throws java.lang.Exception
Activa un agente


launch_beingsStates

public int[] launch_beingsStates()
Devuelve información sobre el estado de los agentes


launch_kill

public void launch_kill()
Kill agents


launch_killbeing

public void launch_killbeing(java.lang.String b2bkn)
Kill agent


launch_isAliveBeing

public boolean launch_isAliveBeing(java.lang.String b2qisa)
Is alive question


launch_stop

public void launch_stop()
Cierra el contenedor asociado