It���s not fully decided yet. I���m just trying to show that 2 peers A and B can exchange and sync information without central server, but also considering they have multiples devices (connected on demand P2P - offline first is a major requirement).
So for now, to test, I just connect A and B through basys by sending a connection in both direction A->B B->A. I think ok keeping a "message hub �� specific to each interaction A can have with B(s), C(s)... A queue but that kind of never deletes messages but changes its meta content - so as to sync with other devices when they eventually connect).
So for now, my need is quite simple regarding connections.
I used mostly for now #sendDataPacket:
I could do it also with Zinc in HTTP. But, as always in Smalltalk, I explore in plenty of directions and discover great stuffs like Seamless perfectly usable and some less finished or older gems like BitTalk or UbiquiTalk��� Very interesting as I will need more functionalities to deal with decentralized networks.
Yes, sure I���ve spotted that and I definitely need a way to identify peer-devices (belonging to a peer realm/swarm). I���ll do later.
Do you think of something in particular ? :)
For now my queue will only be ordered collections or whatever simple collection. It should be enough to start with.
Subclassing Seamless seems to be a very good simple and powerful possibility (to get inspiration too) and I may do that.
Anyway most of what I have to do is build a system that seamlessly present to the user information extracted from messages (stored locally- versioned) => its actually just transposing what you all are used too with tools like git but applied to �� general information exchange and processing ��.
Enterprise information systems are so boring��� they should be far more a la smalltalk ^^
Cheers,
C��drick