7#ifndef YARP_SERVERSQL_IMPL_NAMESERVICEONTRIPLES_H
8#define YARP_SERVERSQL_IMPL_NAMESERVICEONTRIPLES_H
60 std::string lastRegister;
87 this->serverContact = serverContact;
92 this->subscriber = subscriber;
102 const std::string& prefix,
103 bool nested =
false);
105 bool announce(
const std::string& name,
int activity)
override;
141 void lock()
override;
147 this->delegate = delegate;
Abstract interface for a name server operator.
A simple collection of objects that can be described and transmitted in a portable way.
An abstract name space for ports.
A class for thread synchronization and mutual exclusion.
Abstract interface for allocating network resources.
An implementation of name service operators on a triple store.
bool cmdQuery(NameTripleState &act, bool nested=false)
void setDelegate(yarp::os::NameSpace *delegate)
bool cmdCheck(NameTripleState &act)
bool cmdRoute(NameTripleState &act)
void setSilent(bool flag)
bool cmdGet(NameTripleState &act)
bool cmdSet(NameTripleState &act)
bool cmdList(NameTripleState &act)
void open(TripleSource *db, Allocator *alloc, const yarp::os::Contact &serverContact)
yarp::os::NameSpace * getDelegate()
bool cmdListRunners(NameTripleState &act)
bool cmdUnregister(NameTripleState &act)
bool cmdGc(NameTripleState &act)
bool apply(yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote) override
bool cmdHelp(NameTripleState &act)
bool announce(const std::string &name, int activity) override
void setSubscriber(Subscriber *subscriber)
bool cmdRegister(NameTripleState &act)
yarp::os::Contact query(const std::string &portName, NameTripleState &act, const std::string &prefix, bool nested=false)
State information for a single name server operation on a database.
const yarp::os::Contact & remote
NameTripleState(yarp::os::Bottle &cmd, yarp::os::Bottle &reply, yarp::os::Bottle &event, const yarp::os::Contact &remote, TripleSource &mem)
Abstract interface for maintaining persistent connections.
Abstract view of a database as a collection of triples.