Re: RPC interface to appserver now even simpler
Malek Hadj-Ali <[email protected]> Tue, 21 Feb 2006 04:48:00 +0100
| Newsgroups | gmane.comp.gnu.enterprise.devel |
|---|---|
| Organization | L.C.D.E. Consulting b.V. |
| Message-ID | <[email protected]> |
On Mon, 2006-02-20 at 18:49 +0100, Reinhard Mueller wrote: [snip] > So we completely removed the geasSession.login, geasSession.logout, > geasSession.close and geasList.close functions and changed the _destroy > function of the objects to clean up things. > > So if you don't need a geasList any more, simply _destroy it. When you > don't need a geasSession any more, simply _destroy it. > why keep the name "_destroy" and not use "close", now that it's free? (doesn't "close" make more sense?) > And, if you just close the TCP connection, the server will automatically > call the _destroy for all objects related to that connection (still it > would be considered bad style). > what do you mean by "close the TCP connection"? sending a request with header "Connection: Close"? Is that the way to shutdown properly the session manager? > We hope that this makes using the RPC interface of appserver easier, > especially for those that implement a client from scratch (for example > our heroes working on the Web client). > > Thanks, > Reinhard and Johannes > _______________________________________________ > Gnue-dev mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/gnue-dev