incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Jungblut <thomas.jungb...@googlemail.com>
Subject Re: Package Layout & Message class conventions
Date Wed, 15 Jun 2011 08:23:40 GMT
>
> P.S., In near future, we'll have the IO package.
>

After you're ready with the new RPC stuff? That's wonderful!
Let's wait until then and make a subpackage to put all the messages into.
I think we should put this into 0.4.0 since this is just a refactoring.

I'll put the conventions in the wiki.
Thanks!

2011/6/15 Edward J. Yoon <edwardyoon@apache.org>

> > I think we can improve our package layout to clean up the BSP package.
> > For example we could put the Message model classes and the task related
> > classes into their own package.
>
> What's your package breakdown plan?
>
> P.S., In near future, we'll have the IO package.
>
> > And I would like to state some conventions on the message classes.
> > So for example we have a primitive like a boolean, the message would be
> > called BooleanMessage. So the data part is a boolean and the tag is a
> > string.
> > If we are changing the tag to a non-string class we are using a combined
> > name like IntegerDoubleMessage. So the tag part is an integer, the data
> part
> > is a double.
>
> +1
>
> On Sat, Jun 11, 2011 at 4:45 PM, Thomas Jungblut
> <thomas.jungblut@googlemail.com> wrote:
> > Hey all,
> >
> > I think we can improve our package layout to clean up the BSP package.
> > For example we could put the Message model classes and the task related
> > classes into their own package.
> >
> > And I would like to state some conventions on the message classes.
> > So for example we have a primitive like a boolean, the message would be
> > called BooleanMessage. So the data part is a boolean and the tag is a
> > string.
> > If we are changing the tag to a non-string class we are using a combined
> > name like IntegerDoubleMessage. So the tag part is an integer, the data
> part
> > is a double.
> >
> > What do you think?
> >
> >
> > --
> > Thomas Jungblut
> > Berlin
> >
> > mobile: 0170-3081070
> >
> > business: thomas.jungblut@testberichte.de
> > private: thomas.jungblut@gmail.com
> >
>
>
>
> --
> Best Regards, Edward J. Yoon
> @eddieyoon
>



-- 
Thomas Jungblut
Berlin

mobile: 0170-3081070

business: thomas.jungblut@testberichte.de
private: thomas.jungblut@gmail.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message