1
0
mirror of https://github.com/ubf/ubf.git synced 2026-04-16 01:35:14 +00:00
Files
ubf/doc/ebf_driver.md
Joseph Wayne Norton 39468d05e2 Update docs
2013-03-26 12:41:39 +09:00

1.6 KiB

Module ebf_driver

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.

. Behaviours: contract_driver.

Function Index

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

Function Details

decode/4

decode(Contract, Options, X3, Binary) -> any()

encode/3

encode(Contract, Options, Term) -> any()

init/1

init(Contract) -> any()

init/2

init(Contract, Options) -> any()

start/1

start(Contract) -> any()

start/2

start(Contract, Options) -> any()