On Wed, Jan 7, 2009 at 10:50 PM, Shawn Pearce <[email protected]> wrote:

>
> > I agree the sample application is a bit too complex. I just wanted to do
> > something more complicated to see how it works with multiple threads and
> so
> > on. I have and idea for lot simpler example. What about the app that will
> > return day of week i.e. Mon, Tue, etc. for requested date? It'snot the
> best
> > innovative application, but it's simple and clear.
>
> Applications that add two numbers together and return the result are fairly
> common for an RPC sort of example.  The body of the implementation is
> trivial, its the RPC framing that is interesting to show.
>
> What about just a simple add server?
>
>  message AddRequest { required int32 a = 1; optional int32 b = 2; }
>  message AddResult    { required int32 r = 1; }
>
> ?
>

This is good idea I guess, I can provide the implementation for such a add
server. Do you guys have any other ideas?

Regards,
Tom

Reply via email to