Protocol driver process for EBF (Erlang Binary Format) protocol sessions.
This driver automagically relies on the OTP gen_tcp "packet"
feature, using a 4-byte prefix to specify the size of the data
coming from the client. Similarly, this packet feature is used
when sending our reply back to the client.
loop() in this module is represented in the
diagram below by the "UBF Driver" circle.
| decode/4 | |
| encode/2 | |
| init/1 | |
| start/1 |
decode(Contract, Cont, Binary, CallBack) -> any()
encode(Contract, Term) -> any()
init(Contract) -> any()
start(Contract) -> any()
Generated EDoc, $Id$