xbee::tests::Fake::FakeReadDevice Class Reference
List of all members.
Detailed Description
Represents a fake serial port which can be read from in a similar
fashion to the real thing
Definition at line 25 of file Fake.py.
Member Function Documentation
def xbee::tests::Fake::FakeReadDevice::__init__ |
( |
|
self, |
|
|
|
data, |
|
|
|
silent_on_empty = False | |
|
) |
| | |
def xbee::tests::Fake::FakeReadDevice::inWaiting |
( |
|
self |
) |
|
Returns the number of bytes available to be read
Definition at line 52 of file Fake.py.
def xbee::tests::Fake::FakeReadDevice::read |
( |
|
self, |
|
|
|
length = 1 | |
|
) |
| | |
Read the indicated number of bytes from the port
Definition at line 36 of file Fake.py.
Member Data Documentation
The documentation for this class was generated from the following file: