A mini-server for performing network communication in the background.
void appendText(const std::string &str, const char terminate='\n') override
Send a terminated string to the network connection.
bool isBareMode() const override
Check if the connection is bare mode.
void appendFloat32(yarp::conf::float32_t data) override
Send a representation of a 32-bit floating point number to the network connection.
SizedWriter * getBuffer() override
bool isError() const override
void setReference(Portable *obj) override
Stores a direct pointer to the object being sent.
void requestDrop() override
Tag the connection to be dropped after the current message.
void appendInt8(std::int8_t data) override
Send a representation of a 8-bit integer to the network connection.
bool isValid() const override
bool isNull() const override
void appendInt32(std::int32_t data) override
Send a representation of a 32-bit integer to the network connection.
bool isTextMode() const override
Check if the connection is text mode.
void appendInt16(std::int16_t data) override
Send a representation of a 16-bit integer to the network connection.
void appendInt64(std::int64_t data) override
Send a representation of a 64-bit integer to the network connection.
void appendBlock(const char *data, size_t len) override
Send a block of data to the network connection.
void appendExternalBlock(const char *data, size_t len) override
Send a block of data to the network connection, without making a copy.
void setReplyHandler(PortReader &reader) override
This sets a handler to deal with replies to the message.
bool isActive() const override
void appendFloat64(yarp::conf::float64_t data) override
Send a representation of a 64-bit floating point number to the network connection.
void declareSizes(int argc, int *argv) override
If you can easily determine how many blocks there are in a message, call this first,...
bool convertTextMode() override
Converts a standard description in binary into a textual description, if the connection is in text-mo...
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
This is a base class for objects that can be both read from and be written to the YARP network.
Minimal requirements for an efficient Writer.