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