# Serialized Form

- ## Package madkit.action

  - ### Class madkit.action.MDKAbstractAction extends AbstractAction implements Serializable

    serialVersionUID:
      -1414495456612340010L

- ## Package madkit.gui

  - ### Class madkit.gui.AgentFrame extends JFrame implements Serializable

    serialVersionUID:
      6337250099157352055L

    - ### Serialized Fields

      - #### internalFrame

            JInternalFrame internalFrame

      - #### agent

            AbstractAgent agent

  - ### Class madkit.gui.AgentStatusPanel extends JPanel implements Serializable

    serialVersionUID:
      -5745998699827681837L

    - ### Serialized Fields

      - #### myAgent

            AbstractAgent myAgent

      - #### network

            JLabel network

  - ### Class madkit.gui.ConsoleAgent extends AbstractAgent implements Serializable

    serialVersionUID:
      -6101789640805528218L

  - ### Class madkit.gui.MDKDesktopFrame extends JFrame implements Serializable

    serialVersionUID:
      -5136102562032184534L

    - ### Serialized Fields

      - #### desktopPane

            JDesktopPane desktopPane

  - ### Class madkit.gui.OutputPanel extends JPanel implements Serializable

    serialVersionUID:
      602152712654986449L

    - ### Serialized Fields

      - #### out

            OutputStream out

      - #### outField

            JTextArea outField

- ## Package madkit.gui.menu

  - ### Class madkit.gui.menu.AgentLogLevelMenu extends JMenu implements Serializable

    serialVersionUID:
      -5402608797586593530L

    - ### Serialized Fields

      - #### myAgent

            AbstractAgent myAgent

      - #### logGroup

            ButtonGroup logGroup

      - #### warningGroup

            ButtonGroup warningGroup

  - ### Class madkit.gui.menu.AgentMenu extends JMenu implements Serializable

    serialVersionUID:
      7141072399712971987L

  - ### Class madkit.gui.menu.ClassPathSensitiveMenu extends JMenu implements Serializable

    serialVersionUID:
      -8683241036884772403L

  - ### Class madkit.gui.menu.HelpMenu extends JMenu implements Serializable

    serialVersionUID:
      6177193453649323680L

  - ### Class madkit.gui.menu.LaunchAgentsMenu extends ClassPathSensitiveMenu implements Serializable

    serialVersionUID:
      634377755586801986L

    - ### Serialized Fields

      - #### myAction

            Action myAction

      - #### myAgent

            AbstractAgent myAgent

      - #### filter

            AgentClassFilter filter

  - ### Class madkit.gui.menu.LaunchMain extends ClassPathSensitiveMenu implements Serializable

    serialVersionUID:
      752058124107737762L

  - ### Class madkit.gui.menu.LaunchMAS extends ClassPathSensitiveMenu implements Serializable

    serialVersionUID:
      -3716696545105934911L

    - ### Serialized Fields

      - #### myAgent

            AbstractAgent myAgent

  - ### Class madkit.gui.menu.LaunchMDKConfigurations extends ClassPathSensitiveMenu implements Serializable

    serialVersionUID:
      -3650744981788324553L

  - ### Class madkit.gui.menu.LaunchXMLConfigurations extends ClassPathSensitiveMenu implements Serializable

    serialVersionUID:
      -3650744981788324553L

    - ### Serialized Fields

      - #### myAgent

            AbstractAgent myAgent

  - ### Class madkit.gui.menu.MadkitMenu extends JMenu implements Serializable

    serialVersionUID:
      6177193453649323680L

- ## Package madkit.gui.toolbar

  - ### Class madkit.gui.toolbar.MadkitToolBar extends JToolBar implements Serializable

    serialVersionUID:
      -700298646422969523L

- ## Package madkit.kernel

  - ### Class madkit.kernel.AbstractAgent extends Object implements Serializable

    serialVersionUID:
      6342805234801543226L

    - ### Serialized Fields

      - #### state

            AtomicReference<V> state

      - #### _hashCode

            int _hashCode

      - #### hasGUI

            boolean hasGUI

      - #### name

            String name

        name is lazily created to save memory

      - #### alive

            AtomicBoolean alive

      - #### messageBox

            BlockingQueue<E> messageBox

      - #### logger

            AgentLogger logger

        `logger` should be used to print messages and trace the agent's life cycle. According to a log level, the messages will be displayed in the console and/or the GUI and/or a file according to the settings. Thanks to the logging mechanism of the SDK, various log level could be used. The following idiom should be used because `Logger` is set to `null` when `AgentLogger.setLevel(Level)` is used with `Level.OFF`. This allows to efficiently optimize the runtime speed when they are a lot of agents (e.g. in a simulation mode). Indeed, thanks to this idiom, useless strings will not be built, thus saving a lot of time.

             if (logger != null)
                    logger.info("info message");

        `AbstractAgent.getLogger()` should not be used here because it always returns a non `null` logger.
        See Also:
          `Level`, `Logger`

  - ### Class madkit.kernel.Agent extends AbstractAgent implements Serializable

    serialVersionUID:
      3300642867299288790L

    - ### Serialized Fields

      - #### myThread

            Thread myThread

      - #### agentExecutor

            madkit.kernel.AgentExecutor agentExecutor

      - #### isDaemon

            boolean isDaemon

  - ### Class madkit.kernel.AgentAddress extends Object implements Serializable

    serialVersionUID:
      -5109274890965282440L

    - ### Serialized Fields

      - #### kernelAddress

            KernelAddress kernelAddress

      - #### _hashCode

            int _hashCode

      - #### roleObject

            madkit.kernel.Role roleObject

      - #### cgr

            String cgr

  - ### Class madkit.kernel.ConversationID extends Object implements Serializable

    serialVersionUID:
      4280603137316237711L

    - ### Serialized Fields

      - #### id

            int id

      - #### origin

            KernelAddress origin

  - ### Class madkit.kernel.KernelAddress extends Object implements Serializable

    serialVersionUID:
      3191926058535092533L

    - ### Serialized Fields

      - #### networkID

            long networkID

      - #### localID

            short localID

  - ### Class madkit.kernel.KernelException extends RuntimeException implements Serializable

    serialVersionUID:
      8942343591444752340L

  - ### Class madkit.kernel.Message extends Object implements Serializable

    serialVersionUID:
      -7343412576480540415L

    - ### Serialized Fields

      - #### receiver

            AgentAddress receiver

      - #### sender

            AgentAddress sender

      - #### conversationID

            ConversationID conversationID

  - ### Class madkit.kernel.Scheduler extends Agent implements Serializable

    serialVersionUID:
      -2224235651899852429L

    - ### Serialized Fields

      - #### simulationState

            Scheduler.SimulationState simulationState

      - #### activators

            Set<E> activators

      - #### run

            Action run

      - #### step

            Action step

      - #### speedUp

            Action speedUp

      - #### speedDown

            Action speedDown

      - #### delay

            int delay

      - #### speedModel

            DefaultBoundedRangeModel speedModel

        specify the delay between 2 steps

      - #### GVT

            double GVT

      - #### simulationDuration

            double simulationDuration

      - #### gvtModel

            madkit.kernel.GVTModel gvtModel

  - ### Class madkit.kernel.Watcher extends AbstractAgent implements Serializable

    serialVersionUID:
      -4999802785768614838L

    - ### Serialized Fields

      - #### probes

            Set<E> probes

- ## Package madkit.message

  - ### Class madkit.message.ACLMessage extends ActMessage implements Serializable

    serialVersionUID:
      -6750319187360080985L

    - ### Serialized Fields

      - #### dests

            ArrayList<E> dests

      - #### reply_to

            ArrayList<E> reply_to

  - ### Class madkit.message.ActMessage extends Message implements Serializable

    serialVersionUID:
      -2556927686645807800L

    - ### Serialized Fields

      - #### action

            String action

      - #### fields

            Hashtable<K,V> fields

      - #### content

            String content

  - ### Class madkit.message.BooleanMessage extends ObjectMessage<Boolean> implements Serializable

    serialVersionUID:
      6520364212151479221L

  - ### Class madkit.message.EnumMessage extends ObjectMessage<Object[]> implements Serializable

    serialVersionUID:
      2129358510239154730L

    - ### Serialized Fields

      - #### code

            Enum<E extends Enum<E>> code

  - ### Class madkit.message.GUIMessage extends EnumMessage<GUIManagerAction> implements Serializable

    serialVersionUID:
      670313757537790225L

  - ### Class madkit.message.IntegerMessage extends ObjectMessage<Integer> implements Serializable

    serialVersionUID:
      1L

  - ### Class madkit.message.KernelMessage extends EnumMessage<KernelAction> implements Serializable

    serialVersionUID:
      4125669035665965672L

  - ### Class madkit.message.KQMLMessage extends ActMessage implements Serializable

    serialVersionUID:
      -3534390128191295863L

  - ### Class madkit.message.ObjectMessage extends Message implements Serializable

    serialVersionUID:
      2061462024105569662L

    - ### Serialized Fields

      - #### content

            Object content

  - ### Class madkit.message.SchedulingMessage extends EnumMessage<SchedulingAction> implements Serializable

    serialVersionUID:
      -1433336977900865385L

  - ### Class madkit.message.StringMessage extends ObjectMessage<String> implements Serializable

    serialVersionUID:
      3111467569749360801L

  - ### Class madkit.message.XMLMessage extends Message implements Serializable

    serialVersionUID:
      1266801281341621595L

    - ### Serialized Fields

      - #### docContent

            Document docContent

        The xml content as a Document (null if the content is defined as a string)

      - #### strcontent

            String strcontent

        The xml content as a String (null if the content is defined as a Document)

- ## Package madkit.message.hook

  - ### Class madkit.message.hook.AgentLifeEvent extends HookMessage implements Serializable

    serialVersionUID:
      -5737575514238878308L

    - ### Serialized Fields

      - #### source

            AbstractAgent source

  - ### Class madkit.message.hook.CGREvent extends HookMessage implements Serializable

    serialVersionUID:
      6722477889792374461L

  - ### Class madkit.message.hook.HookMessage extends ObjectMessage<HookMessage.AgentActionEvent> implements Serializable

    serialVersionUID:
      3008390114345525272L

  - ### Class madkit.message.hook.MessageEvent extends CGREvent implements Serializable

    serialVersionUID:
      7792908692169144580L

    - ### Serialized Fields

      - #### message

            Message message

  - ### Class madkit.message.hook.OrganizationEvent extends CGREvent implements Serializable

    serialVersionUID:
      -7030965928934873405L

    - ### Serialized Fields

      - #### source

            AgentAddress source

- ## Package madkit.simulation

  - ### Class madkit.simulation.SimulationException extends RuntimeException implements Serializable

    serialVersionUID:
      2815963785558410975L

- ## Package madkit.simulation.model

  - ### Class madkit.simulation.model.AbstractModel extends AbstractAgent implements Serializable

    serialVersionUID:
      4331001068139223326L

- ## Package madkit.simulation.viewer

  - ### Class madkit.simulation.viewer.SwingViewer extends Watcher implements Serializable

    serialVersionUID:
      -403113166858504599L

    - ### Serialized Fields

      - #### displayPane

            JComponent displayPane

      - #### synchronousPainting

            boolean synchronousPainting

      - #### renderingOn

            boolean renderingOn

      - #### frame

            JFrame frame

      - #### renderingInterval

            int renderingInterval

      - #### counter

            int counter

      - #### rendering

            Action rendering

      - #### synchroPainting

            Action synchroPainting

      - #### toolBar

            JToolBar toolBar

- ## Package madkit.util

  - ### Class madkit.util.MadkitProperties extends Properties implements Serializable

    serialVersionUID:
      1964226720362899440L

Fabien Michel, Olivier Gutknecht, Jacques Ferber