aboutsummaryrefslogtreecommitdiff
path: root/daemon/ExternalSource.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/ExternalSource.h')
-rw-r--r--daemon/ExternalSource.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/daemon/ExternalSource.h b/daemon/ExternalSource.h
index 2052bdf..2e7ed27 100644
--- a/daemon/ExternalSource.h
+++ b/daemon/ExternalSource.h
@@ -12,6 +12,7 @@
#include <semaphore.h>
#include "Buffer.h"
+#include "Monitor.h"
#include "OlySocket.h"
#include "Source.h"
@@ -29,8 +30,16 @@ public:
void write(Sender *sender);
private:
+ void waitFor(const uint64_t currTime, const int bytes);
+ void configureConnection(const int fd, const char *const handshake, size_t size);
+ bool connectMve();
+
+ sem_t mBufferSem;
Buffer mBuffer;
- OlySocket mSock;
+ Monitor mMonitor;
+ OlyServerSocket mMveStartupUds;
+ int mInterruptFd;
+ int mMveUds;
// Intentionally unimplemented
ExternalSource(const ExternalSource &);