zeromq / zbroker

Elastic pipes
Mozilla Public License 2.0
50 stars 11 forks source link

Rebuilt basic zpipe server using zproto #8

Closed hintjens closed 10 years ago

hintjens commented 10 years ago

The goal here is to replace the current hand-written zpipes+zpipes_agent classes by a new generated zpipes_server class. The core of this class is a state machine (zpipes_server.xml) that turns into a generated engine (zpipes_server_engine.h).

This approach addresses the problem of handling client connections robustly and statefully. The generated server engine tracks client connections, timeouts, etc.