56 return port.
read(reader,
true);
A mini-server for performing network communication in the background.
Interface implemented by all objects that can read themselves from the network, such as Bottle object...
Interface implemented by all objects that can write themselves to the network, such as Bottle objects...
void setRpcMode(bool expectRpc) override
Configure the port to be RPC only.
bool read(PortReader &reader, bool willReply=false) override
Read an object from the port.
void setInputMode(bool expectInput) override
Configure the port to allow or forbid inputs.
void close() override
Stop port activity.
void setOutputMode(bool expectOutput) override
Configure the port to allow or forbid outputs.
~RpcServer() override
Destructor.
bool read(PortReader &reader, bool willReply=true) override
Read an object from the port.
void setInputMode(bool expectInput) override
Configure the port to allow or forbid inputs.
virtual bool write(const PortWriter &writer, const PortWriter *callback=nullptr) const override
Write cannot be called by RPCServer.
void setOutputMode(bool expectOutput) override
Configure the port to allow or forbid outputs.
void setRpcMode(bool expectRpc) override
Configure the port to be RPC only.
#define yCError(component,...)
#define yCAssert(component, x)
#define YARP_OS_LOG_COMPONENT(name, name_string)
The components from which ports and connections are built.
An interface to the operating system, including Port based communication.