thesamet / rpcz

RPC implementation for Protocol Buffers over ZeroMQ
http://code.google.com/p/rpcz/
Apache License 2.0
111 stars 42 forks source link

Questions about ZeroMQ mode used in RPCZ #5

Closed ChenYue1127 closed 9 years ago

ChenYue1127 commented 9 years ago

hi~

I am a new guy.

My teacher asked me to add ssl to the messaging part of RPCZ, but i am confused about the messaging type that RPCZ uses. I mean , for example, it uses zeroMQ's pipeline mode, pub-sub mode, or uses router and dealer to build a broker for clients and services.

I'v found that it seems that RPCZ creates socket ZMQ_ROUTER and socket ZMQ_DEALER which I found in the file connection_manager.cc. But to add my own methods to those send and receive parts, I need more details about how does RPCZ use zeromq, and where I can find them in those files included in RPCZ .

Sorry about my poor English. I am still practicing. hope that my words are clear enough for you to understand .

thesamet commented 9 years ago

Hi Chen,

Unfortunately, I do not have a documentation of the wire format and how ZeroMQ is used. I hope to get to this one day, however I will not be able to complete this in the near future. It should be possible to figure it out by reading the sources, and if you have specific questions I'll be happy to answer.