Google

Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

TTYSession Class Reference

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. More...

#include <serial.h>

Inheritance diagram for TTYSession:

TTYStream Thread streambuf iostream Serial List of all members.

Public Methods

 TTYSession (const char *name, Semaphore *start = NULL, int pri = 0, int stack = 0)
 Create TTY stream that will be managed by it's own thread. More...


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.

This class is very anagolous to TCPSession.

Author(s):
David Sugar <dyfet@ostel.com>


Constructor & Destructor Documentation

TTYSession::TTYSession ( const char * name,
Semaphore * start = NULL,
int pri = 0,
int stack = 0 )
 

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

Parameters:
name   of tty device to open.
start   semaphore for synchronization.
pri   execution priority.
stack   allocation needed on some platforms.


The documentation for this class was generated from the following file:
Generated at Fri Mar 23 10:47:57 2001 for CommonC++ by doxygen1.2.1 written by Dimitri van Heesch, © 1997-2000