Re: A short interface design question



Peter Williams wrote:

> Hi everyone,
>         I'm working on a little project that involves some Bonobo components. I
> want one component to send a list of filenames (around, say, 200 items
> long) to another asynchronously and I'd appreciate some advice on the
> best way to do this.
>
>         * Is it better to use a BonoboListener and send one event for each
> file? Or is the CORBA overhead significant?
>
>         * Is it better to return something like a BonoboStream and write the
> list to that? Or is that vercomplicated?
>
>         * Or should I write my own little interface for sending the filenames?
> Is this somehow better than BonoboListener?
>
>         * Some other idea I haven't thought of?

Use BonoboListener and send a list of filenames, resulting in only one CORBA call
(instead of sending each separate filename).

- Dietmar





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