Hi,

I'm currently using Netty with it's Protobuf 
Decoder<http://netty.io/4.0/api/io/netty/handler/codec/protobuf/ProtobufDecoder.html>(and
 Encoder) support to pass data between components in my application 
architecture. It's working very well.

I'm at the stage where I'd like to expose one TCP connection to my web 
frontend which can serialize and de-serialize protobuf messages to a 
variety of different components.

I have Component A which establishes the connection to the WebFrontend.

Component B and, Component C establish a TCP connection each to Component A.

Messages are sent from the WebFrontend to Component A which unwraps them 
and dispatches them to the correct component (B or C). Response messages 
are sent from B or C and wrapped to be sent to the WebFrontend by Component 
A. The problem I'm having is how to wrap the response message to be sent to 
the WebFrontend so it knows "oh, this came from Component A, let me 
deserialize it to this type."

Apologies if this is unclear, ask me any questions and I'll add as much 
relevant detail as I can.

Any advice or suggestion for software tools or libraries that already 
provide this "proxy" functionality is greatly appreciated.

Cheers,

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to