20 #ifndef DOXYGEN_SHOULD_SKIP_THIS
21 class DummyConnectorReader :
30 altWriter->
reset(tmode);
35 class DummyConnector::Private
39 DummyConnectorReader reader;
46 reader.altWriter = &writer;
47 reader.tmode = textMode;
50 void setTextMode(
bool textmode)
53 writer.reset(textMode);
54 reader.tmode = textMode;
59 writer.reset(textMode);
71 std::string s = writer.toString();
75 reader.reset(sis,
nullptr, r, s.length(), textMode);
81 writer.reset(textMode);
98 mPriv->setTextMode(textmode);
103 return mPriv->getCleanWriter();
108 return mPriv->getWriter();
113 return mPriv->getReader();
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.
ConnectionWriter & getCleanWriter()
Get a clean/empty dummy ConnectionWriter.
ConnectionReader & getReader()
Get the dummy ConnectionReader loaded with whatever was written the ConnectionWriter since it was las...
void reset()
Reset and clear the current ConnectionWriter.
Information about a connection between two ports.
A helper for creating cached object descriptions.
void reset(bool textMode)
Completely clear the writer and start afresh.
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.