On Wed, Mar 31, 2010 at 12:42 PM, Ray Ryan <[email protected]> wrote:
> I don't follow your assertion, scott. I'm pretty sure that null is the
> only legal value for a Void field, so what's the big deal about
> serializing it?

null is the only value.  This supports a command-style use case where
you have an RPC interface that looks like:

CommandResult<T> {
  T getValue();
  boolean succeeded();
  int cost();
}

For some class of RPC calls, you might have:

CommandResult<Void> commandWithNoReturnValue();

-- 
Bob Vawter
Google Web Toolkit Team

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

To unsubscribe, reply using "remove me" as the subject.

Reply via email to