Re: Rmi Client Crash

Niclas Hedhman <[email protected]>
Newsgroups gmane.comp.java.sun.rmi
Message-ID <[email protected]>
On Tuesday 29 March 2005 01:41, Steven M. Payeur wrote:
> You can set up callbacks to the client, though, can't you?  In this
> case, the server can abstract out the call to the callback function into
> its own thread.

yes, but effectively the 'client' is now the 'server' and vice versa, for that
call.

> Then the server can poll for results of the threaded
> object which is actually making the callback to the client.  Or maybe
> this threaded object will make its results available in a location which
> the server and the threaded object have access to.  No blocking, the
> server waits for 30 seconds.  If the threaded object doesn't return
> results in the specified amount of time, the client is deemed, at best,
> inactive.  At worst, disconnected.

Yes, possible, but experience shows that it is far from easy to make this in a
reliable manner, and tweaking is expected for each setup, due to network
issues.


Cheers
Niclas

===========================================================================
To unsubscribe, send email to [email protected] and include in the body
of the message "signoff RMI-USERS".  For general help, send email to
[email protected] and include in the body of the message "help".

For a list of frequently asked RMI questions please refer to:
http://java.sun.com/j2se/1.3/docs/guide/rmi/faq.html

To view past RMI-USERS postings, please see:
http://archives.java.sun.com/archives/rmi-users.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.