9#include "wvlinkerhack.h"
14class _WvConStream :
public WvFDStream
19 _WvConStream(
int _rfd,
int _wfd, WvStringParm name = WvString::null);
20 virtual ~_WvConStream();
22 virtual bool isok()
const;
26_WvConStream::_WvConStream(
int _rfd,
int _wfd,
28 : WvFDStream(_rfd, _wfd)
36_WvConStream::~_WvConStream()
64static _WvConStream _wvcon(_zero.GetSocket(), _one.GetSocket(),
"wvcon");
66static _WvConStream _wvout(-1, _one.GetSocket(),
"wvout");
67static _WvConStream _wverr(-1, _two.GetSocket(),
"wverr");
The basic interface which is included by all other XPLC interfaces and objects.
virtual unsigned int addRef()=0
Indicate you are using this object.
bool isnull() const
returns true if this string is null
void setfd(int fd)
Sets the file descriptor for both reading and writing.
virtual void close()
Closes the file descriptors.
A type-safe version of WvMonikerBase that lets you provide create functions for object types other th...
Unified support for streams, that is, sequences of bytes that may or may not be ready for read/write ...
virtual void close()
Closes the file descriptors.
virtual bool isok() const
return true if the stream is actually usable right now