Re: [NTLK] Escale A connection error has Occurred (28009)

From: Paul Guyot (pguyot_at_kallisys.net)
Date: Mon Apr 19 2004 - 01:12:22 PDT


Aux environs du 19/04/04 à 9:31 +0200, sous le titre "Re: [NTLK]
Escale A connection error has Occurred (280", Robert Benschop prit
sa plus belle plume pour écrire les mots suivants:
>Great news! So this is related to the 'Towards DCL 1.1'?

Yes.

The new synchronization engine works with sources. A source is
something like the Address Book or the Stickies application. Each
source can synchronize one or more soups.

The actual description of what the synchronization engine should do
with sources is available here (in French):
http://www.kallisys.com/newton/dcl/doxyoutput/classTDCLSyncEngine.html

The finite state machine for the communication with the Newton is
finished but it is not totally tested.

The diagram is here:
http://www.kallisys.com/newton/dcl/doxyoutput/TDCLSyncEngine-State-Diagram.png

This is the interactions with the newtons. kWF means Waiting For.
Hence kWFStoreResult2 is the second state where the DCL
synchronization engine waits for the StoreResult command from the
Newton.

The state machine actually is simplified and will need changes for
optimized synchronizations (synchronizations where only modified data
since last synchronization are transmitted).

Actually, as you can see on the diagram, the synchronization engine
at some point will synchronize system patches and 1.x packages (I
don't think anyone really cares about this feature, but it's
something that exists in the protocol).

To finish the implementation, I need to implement plug-ins in Escale
(each source will be used for a plug-in), i.e. to start with
finishing this class:
http://www.kallisys.com/newton/dcl/doxyoutput/classTEscaleCppSyncPlugin.html

Then I need to move the old synchronization code to the new Address
Book plug-in.

I think the address book plug-in will be C++ based, the Stickies
plug-in, ObjC-based and the iCal plug-in, AppleScript based. ObjC
plugins may use ObjC views on NS objects.
Something like this:
http://www.kallisys.com/newton/dcl/doxyoutput/DCLNSRef_8h-source.html

It's not the only plug-ins that will be implemented in Escale.
Yesterday I was thinking about import/export plugins.

An import plug-in will probably:
- determine if a file could be imported (this will be used with
Carbon navservices dialogs to only show files that Escale could
import).
- generate an array with packages and/or soup entries to put on the
Newton. This means that book making will simply be built-in into
Escale. We'll do Works and Notes import as well.

I'm not set about export plug-ins yet, but we'll do sound export for sure.

Paul

-- 
Philosophie de baignoire - consultations sur rendez-vous.
NPDS/NewtonOS: http://newton.kallisys.net:8080/
Apache/FreeBSD: http://www.kallisys.com/
-- 
This is the NewtonTalk list - http://www.newtontalk.net/ for all inquiries
Official Newton FAQ: http://www.chuma.org/newton/faq/
WikiWikiNewt for all kinds of articles: http://tools.unna.org/wikiwikinewt/


This archive was generated by hypermail 2.1.5 : Mon Apr 19 2004 - 01:30:01 PDT