Ignore:
Timestamp:
07/16/13 23:31:35 (11 years ago)
Author:
psniegowski
Message:

HIGHLIGHTS:

for Joinables running

CHANGELOG:
Add WorkPackageLogic? and classes representing prime experiment state.

Add classes for PrimeExperiment? state.

Extract single netload routine in Simulator.

Working netload with dummy content in PrimeExperiment?.

More development with NetLoadSaveLogic? and PrimeExperiment?.

Improvement around prime.

Improve BufferedDispatcher?.isActive logic.

Add prime-all.xml configuration.

Manual connecting to existing simulators from GUI.

Guard in SimulatorConnector? against expdef mismatch.

Guard against empty target dispatcher in BufferedDispatcher?.

Make BufferedDispatcher? a Dispatcher (and Joinable).

Minor improvements.

Done StackedJoinable?, improve Experiment.

Develop StackedJoinable?.

Add StackedJoinable? utility joinables controller.

Add dependency on apache-commons-lang.

Add ready ListChange? on Simulators.

Improve hints in ListChange?.

Several improvements.

Found bug with dispatching in Experiment.

Minor improvements.

Fix bug with early finishing Server.

Many changes in Dispatching.

Fix bug with connection.

Do not obfuscate log with socket related exceptions.

Add SocketClosedException?.

Add SimulatorConnector?.

Work out conception of experiment composing of logics building blocks.

Rename SinkInterface? to Sink.

Move saving of Accesses into AccessOperations?.

Some improvements to Experiment.

Improve joinables.

Fix issue with joinables closing.

Add direct and managed consoles to popup menu.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • java/main/src/main/java/com/framsticks/dumping/SaveStream.java

    r100 r102  
    22
    33import static com.framsticks.core.TreeOperations.*;
     4import static com.framsticks.params.AccessOperations.*;
    45import com.framsticks.core.Node;
    56import com.framsticks.core.Path;
     
    89import com.framsticks.params.FramsClass;
    910import com.framsticks.params.ListAccess;
    10 import com.framsticks.params.SinkInterface;
     11import com.framsticks.params.Sink;
    1112import com.framsticks.parsers.Savers;
    1213import com.framsticks.core.Tree;
     
    3031        private final static Logger log = LogManager.getLogger(SaveStream.class.getName());
    3132
    32         protected final SinkInterface sink;
     33        protected final Sink sink;
    3334        protected final Tree tree;
    3435        protected final Future<Void> future;
     
    3839        private int dispatched = 0;
    3940
    40         public SaveStream(SinkInterface sink, Tree tree, Path root, Future<Void> future) {
     41        public SaveStream(Sink sink, Tree tree, Path root, Future<Void> future) {
    4142                assert Dispatching.isThreadSafe();
    4243                this.sink = sink;
     
    8384                                sink.print("file").breakLine();
    8485                                //stream.print("#" + access.getSelected().getClass().getCanonicalName() + "\n");
    85                                 access.save(sink);
     86                                save(access, sink);
    8687                                sink.print("eof").breakLine();
    8788                                sink.print("ok").breakLine();
Note: See TracChangeset for help on using the changeset viewer.