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/hosting/ClientAtServer.java

    r100 r102  
    3030
    3131import static com.framsticks.core.TreeOperations.*;
     32import static com.framsticks.params.AccessOperations.*;
    3233
    3334import java.net.Socket;
     
    6162                cliObject = new Cli(this);
    6263                rootTree = new LocalTree();
     64                rootTree.setName(server.getName() + " root tree");
    6365                // rootTree.setDispatcher(new AtOnceDispatcher<Tree>());
    6466                rootTree.setDispatcher(server.getHosted().getDispatcher());
     
    114116        public static File printToFile(String path, Access access) {
    115117                ListSink sink = new ListSink();
    116                 access.save(sink);
     118                save(access, sink);
    117119                return new File(path, new ListSource(sink.getOut()));
    118120        }
     
    143145                                if (request instanceof SetRequest) {
    144146                                        SetRequest setRequest = (SetRequest) request;
    145                                         //TODO Primitive Param?
    146147                                        tree.set(path, access.getFramsClass().getParamEntry(setRequest.getField(), PrimitiveParam.class), setRequest.getValue(), new FutureHandler<Integer>(responseCallback) {
    147148                                                @Override
     
    198199        protected void joinableStart() {
    199200                Dispatching.use(connection, this);
     201                Dispatching.use(rootTree, this);
    200202        }
    201203
    202204        @Override
    203205        protected void joinableInterrupt() {
     206                Dispatching.drop(rootTree, this);
    204207                Dispatching.drop(connection, this);
    205208        }
     
    207210        @Override
    208211        protected void joinableFinish() {
     212
    209213        }
    210214
     
    212216        protected void joinableJoin() throws InterruptedException {
    213217                Dispatching.join(connection);
     218                Dispatching.join(rootTree);
    214219        }
    215220
Note: See TracChangeset for help on using the changeset viewer.