Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 60 lines (28 sloc) 1.368 kb

Module contract_driver

Generic protocol driver process for protocol sessions.

. This module defines the contract_driver behaviour.
Required callback functions: start/1, start/2, init/1, init/2, encode/3, decode/4.

Function Index

behaviour_info/1
loop/5
loop/6
relay/3
start/3

Function Details

behaviour_info/1

behaviour_info(Other) -> any()

loop/5

loop(Module, Contract, Options, Pid, Socket) -> any()

loop/6

loop(Module, Contract, Options, Pid, Socket, Timeout) -> any()

relay/3

relay(Module, Pid, Pid1) -> any()

start/3

start(Module, Contract, Options) -> any()

Something went wrong with that request. Please try again.