6#ifndef __WVTIMEOUTSTREAM_H
7#define __WVTIMEOUTSTREAM_H
26 virtual bool isok()
const {
return ok; }
31 const char *wstype()
const {
return "WvTimeoutStream"; }
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
WvTimeoutStream is a stream that becomes !isok() after a configurable number of milliseconds.
virtual bool isok() const
return true if the stream is actually usable right now
virtual void execute()
The callback() function calls execute(), and then calls the user- specified callback if one is define...