Hi,

On Jun 1, 2011, at 7:11 PM, Zubair Nabi wrote:

> Diogo and I had a chat today and we think that there is no need to have the 
> timeZone as a field because all messages are being exchanged in UTC time. 
> There is no need for the aggregator to know the timeZone of every agent.

Agree.

> Secondly, there's a bug in Android Java in case of Protobuf that I want to 
> highlight. I had a chat about it with Luis as well.
> 
> In message ICMReport there's a field: repeated bytes passedNode = 6;
> Protobuf by default in Java translates repeated bytes into a 
> List<ByteString>. This works fine in case of normal Java. But in case of 
> Android Java, setting this field results in a UnsupportedOperationException. 
> This is a bug in case of Android Java and Protobuf. I'm going to report it 
> over the Protobuf mailing list. A normal required bytes/optional bytes does 
> not generate this exception.
> 
> So, Luis and I think that instead of repeated bytes, we should have repeated 
> string passedNode. We can put the IP of every node in this field.
> Does everyone agree?

Agree.

> On Wed, Jun 1, 2011 at 4:28 AM, Diogo Pinheiro <[email protected]> 
> wrote:
> Hi folks
> 
> message Event {
> 
>       required string testType = 1; // Identifier for the type of test taken 
> (WEB or SERVICE for now)
> 
> 
>       required string eventType = 2; // The sort of event: CENSOR, TROTHLING, 
> OFF_LINE
> 
> 
> required int32 timeZone = 3; // Time zone of the originating event’s region
> 
> 
> required int64 timeUTC = 4; // Actual time
> 
> 
> required int64 sinceTimeUTC = 5; // Time since when this event was first 
> noticed
> 
> 
>       repeated string locations = 6; // A list of geo areas that we might be 
> covering with reports.
> 
> 
>       optional WebsiteReportDetail websiteReport = 7;
> 
> 
>       optional ServiceReportDetail serviceReport = 8;
> 
> 
> }
> 
> 
> Im not understanding the meaning of the time fields. I think we should we 
> have just two times: the time of the first detection, and the time of the 
> last detection (both in UTC). 
> 
> 
> Best Regards
> Diogo Pinheiro
> 
> 
> 
> 
> -- 
> Best,
> __
> Zubair

---
Adriano Monteiro Marques

http://www.thoughtspad.com
http://www.umitproject.org
http://blog.umitproject.org
http://www.pythonbenelux.org

"Don't stay in bed, unless you can make money in bed." - George Burns

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger. 
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today. 
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to