#include <OW_IOIFCStreamBuffer.hpp>
Inheritance diagram for OW_NAMESPACE::IOIFCStreamBuffer:
Public Member Functions | |
IOIFCStreamBuffer (IOIFC *dev, int bufSize=BASE_BUF_SIZE, const char *direction="io") | |
virtual | ~IOIFCStreamBuffer () |
virtual void | reset () |
Private Member Functions | |
IOIFCStreamBuffer (const IOIFCStreamBuffer &arg) | |
IOIFCStreamBuffer & | operator= (const IOIFCStreamBuffer &arg) |
virtual int | buffer_to_device (const char *c, int n) |
Writes the buffer to the "device". | |
virtual int | buffer_from_device (char *c, int n) |
Fill the buffer from the "device". | |
Private Attributes | |
IOIFC * | m_dev |
Definition at line 45 of file OW_IOIFCStreamBuffer.hpp.
|
Definition at line 43 of file OW_IOIFCStreamBuffer.cpp. |
|
Definition at line 50 of file OW_IOIFCStreamBuffer.cpp. References OW_NAMESPACE::BaseStreamBuffer::sync(). |
|
|
|
Fill the buffer from the "device".
Reimplemented from OW_NAMESPACE::BaseStreamBuffer. Definition at line 56 of file OW_IOIFCStreamBuffer.cpp. References m_dev, and OW_NAMESPACE::IOIFC::read(). |
|
Writes the buffer to the "device".
Reimplemented from OW_NAMESPACE::BaseStreamBuffer. Definition at line 62 of file OW_IOIFCStreamBuffer.cpp. References m_dev, and OW_NAMESPACE::IOIFC::write(). |
|
|
|
Definition at line 79 of file OW_IOIFCStreamBuffer.cpp. References OW_NAMESPACE::BaseStreamBuffer::initBuffers(). Referenced by OW_NAMESPACE::SocketBaseImpl::connect(). |
|
Definition at line 58 of file OW_IOIFCStreamBuffer.hpp. Referenced by buffer_from_device(), and buffer_to_device(). |