7#ifndef YARP_OS_IMPL_PROTOCOL_H
8#define YARP_OS_IMPL_PROTOCOL_H
43 void setRoute(
const Route& route)
override;
44 const Route& getRoute()
const override;
48 bool checkStreams()
const override;
50 std::string getSenderSpecifier()
const override;
51 const std::string& getEnvelope()
const override;
52 void setRemainingLength(
int len)
override;
58 bool open(
const std::string& name)
override;
59 void close()
override;
60 void interrupt()
override;
66 void endRead()
override;
67 void suppressReply()
override;
68 bool setTimeout(
double timeout)
override;
69 void setEnvelope(
const std::string& str)
override;
72 bool isReplying()
const override;
76 bool open(
const Route& route)
override;
78 bool isOk()
const override;
81 void beginWrite()
override;
98 bool getRecvDelegate();
104 bool getSendDelegate();
110 bool expectProtocolSpecifier();
115 bool expectSenderSpecifier();
140 bool expectReplyToHeader();
146 bool respondToHeader();
162 bool respondToIndex();
188 bool need_recv_delegate;
189 bool need_send_delegate;
190 bool recv_delegate_fail;
191 bool send_delegate_fail;
196 std::string envelope;
A mini-server for performing network communication in the background.
A base class for connection types (tcp, mcast, shmem, ...) which are called carriers in YARP.
An interface for reading from a network connection.
The basic state of a connection - route, streams in use, etc.
A controller for an individual connection.
The output side of an active connection between two ports.
Simple specification of the minimum functions needed from output streams.
This is a base class for objects that can be both read from and be written to the YARP network.
Information about a connection between two ports.
A container for a stream, allowing the stream implementation to be replaced when needed.
Minimal requirements for an efficient Writer.
A stream which can be asked to perform bidirectional communication.
Connection choreographer.
void willReply()
Promise that we'll be making a reply.
Lets Readable objects read from the underlying InputStream associated with the connection between two...
The components from which ports and connections are built.
int rename(const char *oldname, const char *newname)
Portable wrapper for the rename() function.