Module apdu_stack

A helper module for using a "stack" of APDU transforms.

Description

A helper module for using a "stack" of APDU transforms.

Data Types

mod()

mod() = apdu_transform:mod()

modlist()

modlist() = [mod() | {mod(), [term()]}]

Function Index

start_link/2Starts a stack of APDU transforms and links them up.
start_monitor/2
stop/1

Function Details

start_link/2

start_link(Proto::apdu:protocol(), ModList::modlist()) -> {ok, [pid()]} | {error, term()}

Starts a stack of APDU transforms and links them up.

start_monitor/2

start_monitor(Proto::apdu:protocol(), ModList::modlist()) -> {ok, [{pid(), reference()}]} | {error, term()}

stop/1

stop(Rest::[pid()] | [{pid(), reference()}]) -> ok | {error, term()}


Generated by EDoc