Skip to content

Latest commit

 

History

History
86 lines (34 loc) · 1.56 KB

ebf_driver.md

File metadata and controls

86 lines (34 loc) · 1.56 KB

#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/5
encode/3
init/1
init/2
start/1
start/2

##Function Details##

###decode/5##

decode(Contract, Options, X3, Binary, CallBack) -> 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()