7#ifndef YARP_OS_IMPL_PORTCOREADAPTER_H
8#define YARP_OS_IMPL_PORTCOREADAPTER_H
21 std::mutex stateMutex;
27 bool readResult {
false };
28 bool readActive {
false };
29 bool readBackground {
false };
30 bool willReply {
false };
31 bool closed {
false };
32 bool opened {
false };
33 bool replyDue {
false };
34 bool dropDue {
false };
39 int recWaitAfterSend { -1 };
40 bool usedForRead {
false };
41 bool usedForWrite {
false };
42 bool usedForRpc {
false };
A mini-server for performing network communication in the background.
An interface for reading from a network connection.
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...
A mini-server for network communication.
A class for thread synchronization and mutual exclusion.
PortReaderCreator * checkReadCreator()
void includeNodeInName(bool flag)
void configWaitAfterSend(bool waitAfterSend)
void configReadCreator(PortReaderCreator &creator)
void configAdminReader(PortReader &reader)
bool configCallbackLock(std::mutex *lock)
bool reply(PortWriter &writer, bool drop, bool interrupted)
PortReader * checkAdminPortReader()
std::mutex * recCallbackLock
PortReader * checkPortReader()
bool unconfigCallbackLock()
void configReader(PortReader &reader)
void setOpen(bool opened)
bool read(ConnectionReader &reader) override
Callback for data.
The components from which ports and connections are built.