[OGo-Developer] click-to-dial & Asterisk
Sebastian Reitenbach
developer@opengroupware.org
Mon, 10 Dec 2007 14:36:06 +0100
developer@opengroupware.org wrote:
> On 10.12.2007, at 14:18, Sebastian Reitenbach wrote:
> > Well, the -sleep, -awake, ... stuff I also not yet understood, but
> > at least I understand, that it is not recommended to use the page
> > cache.
>
>
> -awake is mostly useless, but -sleep is called when the component
what about the rare cases where its not useless, well, I don't know
any, but as you say mostly, I assume there must be a reason for -awake.
> object is not used by SOPE anymore (the current request has been
> processed). Hence its a good place to reset all transient state of the
> component (self->item is the classic).
>
> This happens much earlier than the actual component deallocation. Or,
> if the component is cached somewhere, eg in the persistent page or in
> the navigation, its not deallocated at all.
>
> Basically what the method name says: component go to 'sleep'. Keep
> what you need to remember, but free all stuff which can be
> reconstructed w/o effort.
Ah, this is something coming from within sope, ok, slowly I think I got the
picture.
All useful info to include into the dev-docs ;) I only have some rare pages
written, but I hope by writing, I'll get a better picture of how everything
is working. I hope I'll find some time to come up with sth. first useful on
the documentation@ list this week.
thanks,
Sebastian