|
|
|
|
|
|
Modules Namespace List Class Hierarchy Alphabetical List Compound List Namespace Members Compound Members Related Pages
acdk::net::TransRateWriter Class Reference#include <TransRateWriter.h>
Inheritance diagram for acdk::net::TransRateWriter:
List of all members.
Detailed Description
A Writer Filter which limits the tranfer rate.
If bytesPerSecond == 0 no limitaton will be used.
- Author:
- Roger Rene Kommer
- Version:
- Revision
- 1.9
- Date:
- Date
- 2005/02/05 10:45:29
Constructor & Destructor Documentation
acdk::net::TransRateWriter::TransRateWriter |
( |
IN(::acdk::io::RWriter) |
out, |
|
|
int |
bytesPerSecond |
|
) |
[inline] |
|
Member Function Documentation
void acdk::net::TransRateWriter::setBytesPerSecondRate |
( |
int |
newrate |
) |
[inline] |
|
virtual void acdk::net::TransRateWriter::write |
( |
const byte * |
cstr, |
|
|
int |
offset, |
|
|
int |
len |
|
) |
[virtual] |
|
virtual void acdk::net::TransRateWriter::write |
( |
IN(RbyteArray) |
ch, |
|
|
int |
offset = 0, |
|
|
int |
len = -1 |
|
) |
[inline, virtual] |
|
virtual void acdk::net::TransRateWriter::write |
( |
byte |
c |
) |
[inline, virtual] |
|
|
default implementation: byte cbuf[2]; cbuf[1] = 0; cbuf[0] = c; return write((const byte*)cbuf, 0, 1);
Reimplemented from acdk::io::AbstractFilterWriter. |
Member Data Documentation
|
|