Module ebf_driver

Protocol driver process for EBF (Erlang Binary Format) protocol sessions.

Description

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.

The process executing loop() in this module is represented in the diagram below by the "UBF Driver" circle.

Function Index

decode/4
encode/2
init/1
start/1

Function Details

decode/4

decode(Contract, Cont, Binary, CallBack) -> any()

encode/2

encode(Contract, Term) -> any()

init/1

init(Contract) -> any()

start/1

start(Contract) -> any()


Generated EDoc, $Id$