Using Google protocol buffers with Java NIO?

I am currently playing with java.niowhich I have not used for a long time. I use Google Protocol Buffers for serialization and for communicating with other parts of my system. Now I canโ€™t understand if protobuffers with java.nioclasses can be used / how .

I canโ€™t imagine that Google only uses โ€œone thread per connectionโ€ with network protocol buffers. Can someone give me a pointer on how to integrate the two?

Thanks in advance!
Martin

+5
source share
1 answer

Netty, example, Netty ProtoBufs.

+6

All Articles