class TTYSession

This class is very anagolous to TCPSession. More...

Full nameost::TTYSession
Definition#include <serial.h>
Inheritsost::TTYStream [public ], ost::Thread [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

The TTYSession aggragates a TTYStream and a Common C++ Thread which is assumed to be the execution context that will be used to perform actual I/O operations. This class is very anagolous to TCPSession.

 TTYSession (const char *name, int pri = 0, int stack = 0)

TTYSession

Create TTY stream that will be managed by it's own thread.

Parameters:
nameof tty device to open.
priexecution priority.
stackallocation needed on some platforms.