Ignore:
Timestamp:
09/10/13 21:11:41 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

  • import refactorization: move Tree, Path, etc.

from core to structure package

  • initial serialization implementation
  • improve PrimeExperiment? test
  • many organizational changes and convenience improvements

CHANGELOG:
Make registry in AbstractTree? final.

Move most classes from core to structure package.

Minor changes.

Switch names of Future and FutureHandler?.

Rename ExceptionResultHandler? to ExceptionHandler?.

Rename ExceptionHandler? to ExceptionDispatcherHandler?.

Fix bug in ParamCandidate? cache.

Add missing synchronization to the BufferedDispatcher?.

Develop @Serialized support.

Rework serialization further.

Add serialization/deserialization interface to ValueParam?.

Move getStorageType and isNumeric from Param down to params hierarchy.

Minor changes.

Improve param type induction.

Add TestSerializedClass? for testing new serialization.

Add info files gor GenePool? and Population.

Add standard.expt exemplary netfile.

Add type name field to PropertiesObject?.

Use PropertiesObject? for PropertiesAccess? instead of ordinary map.

Hide getFramsClass is several more places.

More unification accross FramsClass?, Access and Path.

Add ParamCollection?.

Simplify interface for getting params from FramsClass?, Access
or Path.

Make Access.call() interface variadic.

Add arguments(args) convenience wrapper around new Object[] {args}.

Upgrade to apache.commons.lang version 3.1

Minor improvement with Response constructors.

Develop proper result printing in ClientAtServer?.

Add experimentNetsave to PrimeExperiment?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/experiment/NetLoadSaveLogic.java

    r103 r105  
    55import org.apache.logging.log4j.LogManager;
    66
    7 import com.framsticks.core.ListChange;
    8 import com.framsticks.core.Message;
    97import com.framsticks.params.EventListener;
    108import com.framsticks.params.MessageLogger;
    119import com.framsticks.params.annotations.FramsClassAnnotation;
    1210import com.framsticks.params.annotations.ParamAnnotation;
     11import com.framsticks.structure.messages.ListChange;
     12import com.framsticks.structure.messages.Message;
     13import com.framsticks.util.dispatching.FutureHandler;
    1314import com.framsticks.util.dispatching.Future;
    14 import com.framsticks.util.dispatching.FutureHandler;
    1515
    1616@FramsClassAnnotation
     
    5050
    5151                                log.debug("issuing netsave to: {}", simulator);
    52                                 simulator.netsave(netJavaClass, new FutureHandler<NF>(simulator) {
     52                                simulator.netsave(netJavaClass, new Future<NF>(simulator) {
    5353
    5454                                        @Override
     
    6868                }
    6969                log.debug("issuing netload to: {}", simulator);
    70                 netload(simulator, new FutureHandler<NF>(simulator) {
     70                netload(simulator, new Future<NF>(simulator) {
    7171
    7272                        @Override
     
    7777                                }
    7878
    79                                 simulator.netload(net, new FutureHandler<Object>(this) {
     79                                simulator.netload(net, new Future<Object>(this) {
    8080
    8181                                        @Override
     
    9090        }
    9191
    92         public abstract void netload(Simulator simulator, Future<NF> net);
     92        public abstract void netload(Simulator simulator, FutureHandler<NF> net);
    9393
    9494        public abstract void netsave(Simulator simulator, NF net);
Note: See TracChangeset for help on using the changeset viewer.