Yet Another Robot Platform
yarp::name::NameServerConnectionHandler Class Reference

Manage a single connection to the name server. More...

#include <yarp/name/NameServerConnectionHandler.h>

+ Inheritance diagram for yarp::name::NameServerConnectionHandler:

Public Member Functions

 NameServerConnectionHandler (NameService *service)
bool read (yarp::os::ConnectionReader &reader) override
 Read this object from a network connection. More...
virtual bool apply (yarp::os::ConnectionReader &reader, yarp::os::ConnectionWriter *writer, bool lock=true)
- Public Member Functions inherited from yarp::os::PortReader
virtual ~PortReader ()
 Destructor. More...
virtual Type getReadType () const

Detailed Description

Manage a single connection to the name server.

Definition at line 38 of file NameServerConnectionHandler.h.

Constructor & Destructor Documentation

◆ NameServerConnectionHandler()

yarp::name::NameServerConnectionHandler::NameServerConnectionHandler ( NameService service)

Definition at line 44 of file NameServerConnectionHandler.h.

Member Function Documentation

◆ apply()

virtual bool yarp::name::NameServerConnectionHandler::apply ( yarp::os::ConnectionReader reader,
yarp::os::ConnectionWriter writer,
bool  lock = true 

Definition at line 54 of file NameServerConnectionHandler.h.

◆ read()

bool yarp::name::NameServerConnectionHandler::read ( yarp::os::ConnectionReader reader)

Read this object from a network connection.

Override this for your particular class.

readeran interface to the network connection for reading
true iff the object is successfully read

Implements yarp::os::PortReader.

Definition at line 49 of file NameServerConnectionHandler.h.

The documentation for this class was generated from the following file: