Browse Source

DOC: move comments to header

master
heck 9 months ago
parent
commit
b78ec5d9f0
2 changed files with 6 additions and 4 deletions
  1. +0
    -4
      src/PityTransport.cc
  2. +6
    -0
      src/PityTransport.hh

+ 0
- 4
src/PityTransport.cc View File

@ -52,8 +52,6 @@ namespace pEp {
return ret;
}
// Non-blocking
// throws underflow_error if inbox empty
std::string PityTransport::pollMsg() const
{
pEpLogClass("called");
@ -73,8 +71,6 @@ namespace pEp {
return ret;
}
// Blocking
// Returns when a msg has been received
std::string PityTransport::receiveMsg(int poll_interval) const
{
pEpLogClass("called");


+ 6
- 0
src/PityTransport.hh View File

@ -24,7 +24,13 @@ namespace pEp {
//Transport
bool hasMsg() const;
void sendMsg(const std::string nodename, const std::string& msg) const;
// Non-blocking
// throws underflow_error if inbox empty
std::string pollMsg() const;
// Blocking
// Returns when a msg has been received
std::string receiveMsg(int poll_interval = 100) const;
//internal logging


Loading…
Cancel
Save