Library: RemotingNG/TCP
Package: TCP
Header: Poco/RemotingNG/TCP/ChannelStream.h
This is the streambuf class used for reading from and writing to channels.
Direct Base Classes: Poco::BufferedStreamBuf
All Base Classes: Poco::BufferedStreamBuf
Member Functions: close, connection, queue, readFromDevice, writeToDevice
ChannelStreamBuf(
Connection::Ptr pConnection,
Poco::UInt32 frameType,
Poco::UInt32 channel,
Poco::Timespan timeout
);
ChannelStreamBuf(
Connection::Ptr pConnection,
Poco::UInt32 frameType,
Poco::UInt32 channel,
Poco::UInt16 flags
);
~ChannelStreamBuf();
void close();
Connection::Ptr connection();
FrameQueue::Ptr queue();
int readFromDevice(
char * buffer,
std::streamsize length
);
int writeToDevice(
const char * buffer,
std::streamsize length
);