[protobuf] field of type timestamp or date with protobuf message

2011-02-12 Thread Marco@worldcorp
HI all is it possible to add a field of type timestamp , or date, to a protobuf message.. i have quickly read the guide, and i saw no trace of timestamps or fields of type date. could anyone assist? w/kindest regards marco -- You received this message because you are subscribed to the

[protobuf] Error with Netty and extensions

2011-02-06 Thread Marco@worldcorp
Hi all i am trying to use extensions with protobuf and Netty here's my proto file package tutorial; option java_package = com.example.messages; option java_outer_classname = MessageProtos; option optimize_for = LITE_RUNTIME; enum MessageType { TEST = 0; DEBUG = 1; DO_TASK = 2;

[protobuf] Re: Problem when generating classes

2011-01-29 Thread Marco@worldcorp
Hi ok i think i found the problem. I am compiling using protobuffer 2.2.0 , and in my project i am using libraries from protobuf 2.3.0 rgds marco On Jan 28, 11:45 pm, Marco@worldcorp mmistr...@gmail.com wrote: Hi all  i am starting to learn protobuffers so that i can use them alongside

[protobuf] why am i getting this exception?

2011-01-29 Thread Marco@worldcorp
HI all i have wrote a simple messages.proto, compiled it (On Ubuntu Lucid Lynx) with protobuf 2.2.0. here's the .proto file package tutorial; option java_package = com.example.messages; option java_outer_classname = MessageProtos; enum MessageType { TEST = 0; DEBUG = 1; DO_TASK =

[protobuf] Re: why am i getting this exception?

2011-01-29 Thread Marco@worldcorp
Hello, PLs ignore my message It was a Netty problem as i was using multiple decoders / encoders / frames and that was messing up the result sorry for bothering regards marco On Jan 29, 11:09 am, Marco@worldcorp mmistr...@gmail.com wrote: HI all  i have wrote a simple messages.proto

[protobuf] Problem when generating classes

2011-01-28 Thread Marco@worldcorp
Hi all i am starting to learn protobuffers so that i can use them alongside Netty I have created this simple .proto file package tutorial; option java_package = com.example.messages; option java_outer_classname = MessageProtos; message Message { required string content = 1; enum

[protobuf] protocol buffers and client-server communication

2011-01-22 Thread Marco@worldcorp
Hi all i am new to protocol buffer, and was wondering if i can use it for my needs. Basically, i am trying to implement a client-server communication where i can have this type of messages: - INCOMING (from client to server) - String - a Savings Object - a Share object -