* Re: client death
[not found] ` <8539@bacon.IMSI.COM>
@ 1993-08-12 19:20 ` Rich Salz
0 siblings, 0 replies; only message in thread
From: Rich Salz @ 1993-08-12 19:20 UTC (permalink / raw)
Unlike other RPC systems, DCE makes it easy to do both stateful and
stateless RPC programming. In the stateless world you get a data structure
created on the server side that represents some state that you want to
associate with the server. When the client dies (either detected by TCP
keep-alives or by DCE library ping calls), the server gets told and is
given a chance to clean up the state. There are many environments where
this will not meet your needs; there are many places where it will. DCE
hides the underlying network; most programmers will never know if they
are running over TCP, UDP, SNA, OSI, shared memory, or carrier pigeon.
Designing an "are you alive" control that meets everyone's needs and that
is fairly independant of protocol is hard to do. It's probably impossible.
You don't have to use the "tell me about client death" stuff, however.
It only comes for free when you explicit state in your IDL file that the
server maintains state that could need to be cleaned up. If you don't
make that statement, then you are free to implement whatever
application-specific "he's dead, Jim" kind of protocol you want.
Hope this makes things more clear.
Note the Followup-To header.
/r$
^ permalink raw reply [flat|nested] only message in thread