added check for connected when triggered method is called. can't trigger
[urisagit/Stem.git] / Design / console_notes
CommitLineData
4536f655 1
2 Stem::Console Design Notes
3
4The Stem::Console is a class Cell which provides a simple command line
5interface to a Stem Hub. It parses lines typed into stdin and creates
6and dispatches command type Stem Messages from them. It also can accept
7and print response messages sent back by the command method in the
8addressed Cell.
9
10This class Cell is registered under its class name and with the
11nicknames console, cons, and tty. It takes no configure arguments and
12it just creates an Stem::AsyncIO object to handle the console I/O.
13
14When you see the Stem> prompt, you can enter 'help' to see how to enter
15messages and commands.