Hi Terry,

just did:

./testClusterServer.exe -w pipe0 &
./testDynamicClusterClient.exe pipe0

and it works fine how did you test it?

Internaly it keeps a changelist with all created objects, so before clearing the cuurent changelist you save it via RemoteAspect::storeChangeList(). And before connecting to the cluster you restore the saved changelist via RemoteAspect::restoreChangeList() into your current changelist.

Andreas


Thanks, but I'm still having some trouble understanding all this.  Is
RemoteAspect::restoreChangeList() the call that is supposed to say
that everything in the graph is a new change.  I'm afraid I haven't
gotten it to work in my code yet.  And testDynamicClusterClient only
hangs when I run it on line 138:
_cluster_win->init();

--
Terry Welsh - mogumbo 'at' gmail.com
www.reallyslick.com  |  www.infiscape.com  |  www.vrsource.org

On 1/18/06, Andreas Zieringer <[EMAIL PROTECTED]> wrote:

Hi Terry,

there is an example in
OpenSG/Source/System/Cluster/Base/testDynamicClusterClient.cpp showing
how to dynamicly connect to the cluster servers without restarting the app.

Andreas


I want to gracefully recover from network disconnections.  Currently,
I am using RemoteAspect::sendSync() and ChangeList::clearAll() over
and over again to keep my server fed with scene graph updates.

But if my server gets disconnected and then reconnected I want to send
the entire graph over without having to rebuild the graph.  I was
looking for something like ChangeList::setAll() to tell the server
that everything had changed, but I can't find anything like that.  Is
there a simple way to just send over my whole scene graph?
--
Terry Welsh - mogumbo 'at' gmail.com
www.reallyslick.com  |  www.infiscape.com  |  www.vrsource.org


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to