Hey guys,
I'm currently implementing a Saros server (in form of adding it as a new
feature to the regular Saros). My next step is to make it possible for the
client to send projects (or single files) to the server, so that the server
can use these when it invites others into the session.
Adding projects while a session is running is problematic, therefore it
must be done in advance.
When this happens, the server has already agreed that it will start a
session for the client that is going to send the files.
I'm not really sure how to do this, so I'd like to have your opinion.
The server should be able to accept or decline the files, therefore the
file list should be sent before the files. (Right now I see no case in
which the server would refuse the files but I'd like to be prepared. Tell
me if you think this is unnecessary.)
When the files are sent, the server will overwrite a local version of the
same project if it already exists. (At the moment the server can only
support one session at a time, so no session can be running that include
the files. (This may/will change in the future and there are multiple ways
to solve the conflicts that appear when two sessions want to work on the
same project. I don't intend to decide that in my thesis.))
I think it woud be to much (unnecessary) work to implement all this from
scratch when it already exists.
The project negotiation does pretty much what I need (send file list,
accept/refuse files, choose where to save them, save them). I would only
have to alter it in two ways.
1. Make the project negotiation available, when no session is running.
(Shouldn't be too much work)
2. Automate the server side (IncomingProjectNegotiation, possibly a little
more work).
Do you see any problems with that? If yes, do you have any better
suggestions?
Regards,
Nils
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT
organizations don't have a clear picture of how application performance
affects their revenue. With AppDynamics, you get 100% visibility into your
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel