-
A
hook
is a node.js process -
A
hook
can have manyoutputs
( servers ) andinputs
( client connections ) to other hooks -
The previous line is NOT a typo
-
outputs
= servers ( who push messages out ) -
inputs
= clients ( who take messages in ) -
inputs
andoutputs
are independent channels and are both bi-directional -
hook
inputs
ALWAYS re-broadcast to it'soutputs
immediateinputs
( siblings ) -
a
hook
CANNOT hear messages emitted from it's owninput
( no circular messages ) -
hook
inputs
MAY be re-broadcasted to the same hooks immediateoutputs
( children ) -
a
hook
MAY auto-detect if it should be aninput
or anoutput
on startup -
a
hook
MAY auto-detect which port it should listen on or connect to
( RFC and IDST pending )