ucommon
Public Member Functions
ost::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. More...

#include <serial.h>

Inheritance diagram for ost::TTYSession:
Inheritance graph
[legend]
Collaboration diagram for ost::TTYSession:
Collaboration graph
[legend]

Public Member Functions

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

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.

Author:
David Sugar <dyfet@ostel.com> This class is very anagolous to TCPSession.

Definition at line 578 of file serial.h.


Constructor & Destructor Documentation

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

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.

The documentation for this class was generated from the following file: