17#ifndef DOXYGEN_SHOULD_SKIP_THIS
35class DummyConnector::Private
46 reader.altWriter = &writer;
48 reader.tmode = textMode;
54 writer.reset(textMode);
55 reader.tmode = textMode;
60 writer.reset(textMode);
72 std::string s = writer.toString();
76 reader.reset(sis,
nullptr, r, s.length(), textMode);
84 writer.reset(textMode);
106 return mPriv->getCleanWriter();
111 return mPriv->getWriter();
A mini-server for performing network communication in the background.
BufferedPort()
Constructor.
An interface for reading from a network connection.
An interface for writing to a network connection.
virtual ~DummyConnector()
Destructor.
ConnectionWriter & getWriter()
Get the dummy ConnectionWriter loaded with whatever was written the ConnectionWriter since it was las...
DummyConnector()
Default constructor.
void setTextMode(bool textmode)
Set the textMode of the dummy connection.
ConnectionReader & getReader(ConnectionWriter *replyWriter=nullptr)
Get the dummy ConnectionReader loaded with whatever was written the ConnectionWriter since it was las...
ConnectionWriter & getCleanWriter()
Get a clean/empty dummy ConnectionWriter.
void reset()
Reset and clear the current ConnectionWriter.
Information about a connection between two ports.
A helper for creating cached object descriptions.
Lets Readable objects read from the underlying InputStream associated with the connection between two...
The components from which ports and connections are built.
An interface to the operating system, including Port based communication.