5#ifndef __WVBATCHSIGNAL_H
6#define __WVBATCHSIGNAL_H
9#include <wvistreamlist.h>
16 WvInvertedStream(
char *_id):
19 WvIStreamList::globallist.append(
this,
false, _id);
23 WvIStreamList::globallist.unlink(
this);
44 WvBellPull(WvCallback<> _cb):
46 bellpull(new WvInvertedStream(
"bellpull"))
48 bellpull->setcallback(
49 WvStreamCallback(
this, &WvBellPull::bellpull_cb), NULL);
52 WvBellPull(
const WvBellPull& _other):
54 bellpull(_other.bellpull)
63 void delay(time_t msec_timeout)
65 bellpull->alarm(msec_timeout);
75 void operator()(IWvStream&)
79 void operator()(WvStream&,
void*)
83 void operator()(
const UniConf &,
const UniConfKey &)
90 WvInvertedStream *bellpull;
92 void bellpull_cb(WvStream&,
void*)
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
WvStream()
Basic constructor for just a do-nothing WvStream.