3 # Emulate an inetd daemon
6 # Load the consols module so we can enter commands to stem
8 class => 'Stem::Console',
11 # these two cells are both SockMsg's. they are servers listening for
12 # connections on different ports. they have different Cell addresses (A,
13 # B). Both use the Stem::Cell attributes to handle cloning upon
14 # connection and the logical pipe to the Stem::Proc cell. Note that B
15 # has the pipe_args option which sends extra arguments to the other side
16 # of the pipe. this enables line numbering in the output of the
20 class => 'Stem::SockMsg',
27 # this name maps to the cell name of the Stem::Proc below
28 'pipe_addr' => 'quote',
33 class => 'Stem::SockMsg',
40 # this name maps to the cell name of the Stem::Proc below
41 'pipe_addr' => 'quote',
47 # this is the Stem::Proc cell actually forks the program. its name is
48 # refered to by the SockMsg cells.
51 class => 'Stem::Proc',
54 path => 'quote_serve',