gnue-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GNUe-dev] RPC interface to appserver now even simpler


From: Malek Hadj-Ali
Subject: Re: [GNUe-dev] RPC interface to appserver now even simpler
Date: Tue, 21 Feb 2006 04:48:00 +0100

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
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnue-dev





reply via email to

[Prev in Thread] Current Thread [Next in Thread]