Ignore:
Timestamp:
07/18/13 23:52:25 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • add auto loading and saving algorithms between

frams files format and Java classes

  • respect ValueChange? events in GUI (do not reload object)
  • support results of procedures in Java server
  • make Experiment automatically convert between frams file and NetFile? object
  • add MessageLogger? (compatible with original frams server messages)
  • WorkPackageLogic? now validates results, is able to discard them, reschedule

whole package, or only uncomputed remainder

CHANGELOG:
Show just a short description in PrimeExperiment?.

Add primes_changed event to the PrimeExperiment?.

Make WorkPackageLogic? robust to frams server returning invalid results.

Add MessageLogger? to logics.

Add NetFile? interface. Support Messages from server.

Minor changes to connections.

Merge results in the PrimeExperiment?.

More netload class->file conversion to Simulator.

Move netsave parsing to Simulator.

Fix bug with inverted ordering of events firing in Experiment.

Minor changes.

Minor logging changes.

Use AccessOperations?.convert in NetLoadSaveLogic?

NetLoadSaveLogic? now encloses the conversion.

Use more generic AccessOperations? saveAll and loadAll in PrimePackage?.

Add Result class for enclosing of call invocations' results.

Improve feature request handling in Connections.

Use AccessOperations?.convert in RemoteTree? events parsing.

Minor change.

Add some information params to Java server root and CLI objects.

A draft implementation of loadAll algorithm.

That algorithm tries to load objects into a tree structure.

Add AccessOperationsTest? test.

Develop WorkPackageLogic?.

  • add state tracking fields
  • add work package generation

Add utility class SimplePrimitive?.

Meant for Java backend classes, enclose a single primitive value
and set of listeners.

Improve primitive value refresh in GUI.

When ValueChange? found in called event, do not reload whole
object, but only update GUI (no communication is performed).

Use ValueChange? in the TestClass? test.

Minor changes.

Sending all packages in PrimeExperiment? to the frams servers.

Develop AccessOperations?.loadComposites().

Remove addAccess from MultiParamLoader? interface.

There is now no default AccessProvider? in MultiParamLoader?.
User must explicitely set AccessStash? or Registry.

Improve saving algorithms in AccessOperations?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/parsers/MultiParamLoader.java

    r102 r103  
    22
    33import com.framsticks.params.*;
     4import com.framsticks.util.Misc;
     5
    46import org.apache.logging.log4j.Logger;
    57import org.apache.logging.log4j.LogManager;
     
    8789         * List of known classes.
    8890         */
    89         protected AccessProvider accessProvider = new AccessStash();
     91        protected AccessProvider accessProvider = null;
    9092
    9193        /**
     
    123125         */
    124126        public Status go() {
     127                Misc.throwIfNull(accessProvider);
    125128                log.trace("go");
    126129
     
    310313
    311314        /**
    312          * Adds another class.
    313          */
    314         public void addAccess(Access access) {
    315                 accessProvider.addAccess(access);
    316         }
    317 
    318         /**
    319315         * Checks whether execution is finished.
    320316         */
     
    443439                final MultiParamLoader loader = new MultiParamLoader();
    444440                loader.setNewSource(source);
    445                 loader.addAccess(access);
     441                loader.setAccessProvider(new AccessStash().add(access));
    446442                loader.addListener(MultiParamLoader.Status.AfterObject, new StatusListener() {
    447443                        @Override
Note: See TracChangeset for help on using the changeset viewer.