29 reader->reset(is,
nullptr, r, 0,
false);
37 reader.
reset(is,
nullptr, r, 0,
false);
38 return portable.
read(reader);
A simple abstraction for a block of bytes.
An interface for reading from a network connection.
virtual void setParentConnectionReader(ConnectionReader *parentConnectionReader)
Set ConnectionReader to be used for reading the envelope.
static ConnectionReader * createConnectionReader(InputStream &is)
Create an instance of YARP's standard connection reader implementation.
virtual ~ConnectionReader()
Destructor.
virtual Bytes readEnvelope()
Read a message envelope, if available.
static bool readFromStream(PortReader &portable, InputStream &is)
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
virtual bool read(ConnectionReader &reader)=0
Read this object from a network connection.
Information about a connection between two ports.
Lets Readable objects read from the underlying InputStream associated with the connection between two...
void reset(yarp::os::InputStream &in, TwoWayStream *str, const Route &route, size_t len, bool textMode, bool bareMode=false)
The components from which ports and connections are built.
An interface to the operating system, including Port based communication.