can set zmqport from receiver, ensured proper destructors, and ctrl c should kill it

This commit is contained in:
Dhanya Maliakal
2017-07-13 12:17:49 +02:00
parent 672c42a20e
commit 39560969f4
22 changed files with 217 additions and 119 deletions

View File

@ -20,7 +20,6 @@
class UDPInterface {
/* abstract class that defines the UDP interface of an sls detector data receiver.
*
@ -302,6 +301,12 @@ class UDPInterface {
*/
virtual int getActivate() const = 0;
/**
* Get Streaming Port
* @return streaming port
*/
virtual uint32_t getStreamingPort() const = 0;
/*************************************************************************
* Setters ***************************************************************
@ -555,11 +560,6 @@ class UDPInterface {
*/
virtual void abort() = 0; //FIXME: needed, isnt stopReceiver enough?
/**
* Closes all files
*/
virtual void closeFiles() = 0;
/**
* Activate / Deactivate Receiver
* If deactivated, receiver will write dummy packets 0xFF
@ -567,6 +567,12 @@ class UDPInterface {
*/
virtual int setActivate(int enable = -1) = 0;
/**
* Set streaming port
* @param i streaming port
*/
virtual void setStreamingPort(const uint32_t i) = 0;
//***callback functions***
/**