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/communication/ServerSideManagedConnection.java

    r103 r105  
    4646                if (request instanceof ProtocolRequest) {
    4747                        if (request instanceof VersionRequest) {
    48                                 responseCallback.pass(new Response(true, null, null));
     48                                responseCallback.pass(new Response(true, null));
    4949                                return;
    5050                        }
     
    5353                                if (feature.equals("request_id")) {
    5454                                        requestIdEnabled = true;
    55                                         responseCallback.pass(new Response(true, null, null));
     55                                        responseCallback.pass(new Response(true, null));
    5656                                        return;
    5757                                }
    5858                                if (feature.equals("call_empty_result")) {
    59                                         responseCallback.pass(new Response(true, null, null));
     59                                        responseCallback.pass(new Response(true, null));
    6060                                        return;
    6161                                }
    6262                                if (feature.equals("needfile_id")) {
    63                                         responseCallback.pass(new Response(true, null, null));
     63                                        responseCallback.pass(new Response(true, null));
    6464                                        return;
    6565                                }
    66                                 responseCallback.pass(new Response(false, "unknown feature: " + feature, null));
     66                                responseCallback.pass(new Response(false, "unknown feature: " + feature));
    6767                                return;
    6868                        }
     
    7070                }
    7171                log.error("unhandled request: {}", request);
    72                 responseCallback.pass(new Response(false, "unhandled", null));
     72                responseCallback.pass(new Response(false, "unhandled"));
    7373        }
    7474
     
    120120                        e.arg("id", id.get()).arg("line", line);
    121121                        log.error("error: ", e);
    122                         respond(new Response(false, "invalid input: " + e.getMsg(), null), id.get());
     122                        respond(new Response(false, "invalid input: " + e.getMsg()), id.get());
    123123                        return;
    124124                }
Note: See TracChangeset for help on using the changeset viewer.