#include <wvsplitstream.h>
Inheritance diagram for WvSplitStream:
Public Member Functions | |
WvSplitStream (int _rfd, int _wfd) | |
virtual | ~WvSplitStream () |
virtual void | close () |
virtual int | getrfd () const |
virtual int | getwfd () const |
void | noread () |
void | nowrite () |
WvSplitStream (int _rfd, int _wfd) | |
virtual | ~WvSplitStream () |
virtual void | close () |
virtual int | getrfd () const |
virtual int | getwfd () const |
void | noread () |
void | nowrite () |
Protected Member Functions | |
WvSplitStream () | |
WvSplitStream () | |
Protected Attributes | |
int | rfd |
int | wfd |
This is primarily used for the combined stdin/stdout stream.
Definition at line 16 of file include/wvsplitstream.h.
|
Definition at line 22 of file wvsplitstream.cc. |
|
Definition at line 37 of file wvsplitstream.cc. References close(). |
|
Definition at line 30 of file wvsplitstream.cc. |
|
|
|
|
|
|
|
Close the stream if it is open; isok() becomes false from now on. Note!! If you override this function in a derived class, you must call it yourself from your destructor. WvStream::~WvStream() can only call WvStream::close() because of the way virtual functions work in C++. Reimplemented from WvStream. |
|
Close the stream if it is open; isok() becomes false from now on. Note!! If you override this function in a derived class, you must call it yourself from your destructor. WvStream::~WvStream() can only call WvStream::close() because of the way virtual functions work in C++. Reimplemented from WvStream. Definition at line 43 of file wvsplitstream.cc. References WvStream::close(), rfd, and wfd. Referenced by noread(), nowrite(), and ~WvSplitStream(). |
|
return the Unix file descriptor for reading from this stream Reimplemented from WvStream. |
|
return the Unix file descriptor for reading from this stream Reimplemented from WvStream. Definition at line 51 of file wvsplitstream.cc. References rfd. Referenced by WvResolver::findaddr(), and WvPipe::WvPipe(). |
|
return the Unix file descriptor for writing to this stream Reimplemented from WvStream. |
|
return the Unix file descriptor for writing to this stream Reimplemented from WvStream. Definition at line 57 of file wvsplitstream.cc. References wfd. Referenced by WvResolver::findaddr(), and WvPipe::WvPipe(). |
|
noread() closes the rfd and makes this stream no longer valid for reading. |
|
noread() closes the rfd and makes this stream no longer valid for reading. Definition at line 63 of file wvsplitstream.cc. References close(), rfd, and wfd. Referenced by WvResolver::findaddr(). |
|
nowrite() closes wfd and makes it no longer valid for writing. |
|
nowrite() closes wfd and makes it no longer valid for writing. Definition at line 75 of file wvsplitstream.cc. References close(), rfd, and wfd. Referenced by WvResolver::findaddr(). |
|
Definition at line 39 of file streams/wvsplitstream.h. Referenced by close(), getrfd(), noread(), nowrite(), WvLoopback::WvLoopback(), and WvSplitStream(). |
|
Definition at line 39 of file streams/wvsplitstream.h. Referenced by close(), getwfd(), noread(), nowrite(), WvLoopback::WvLoopback(), and WvSplitStream(). |