restream stop from receiver

This commit is contained in:
Dhanya Maliakal
2017-11-30 18:39:08 +01:00
parent b75985088d
commit 70bf6eb4cb
10 changed files with 105 additions and 0 deletions

View File

@ -116,6 +116,12 @@ class DataStreamer : private virtual slsReceiverDefs, public ThreadObject {
*/
void CloseZmqSocket();
/**
* Restream stop dummy packet
* @return OK or FAIL
*/
int restreamStop();
private:
/**

View File

@ -541,6 +541,12 @@ class UDPBaseImplementation : protected virtual slsReceiverDefs, public UDPInter
*/
void setStreamingPort(const uint32_t i);
/**
* Restream stop dummy packet from receiver
* @return OK or FAIL
*/
int restreamStop();
//***callback functions***
/**
* Call back for start acquisition

View File

@ -624,6 +624,12 @@ class UDPInterface {
*/
virtual void setStreamingPort(const uint32_t i) = 0;
/**
* Restream stop dummy packet from receiver
* @return OK or FAIL
*/
virtual int restreamStop() = 0;
//***callback functions***
/**

View File

@ -170,6 +170,12 @@ class UDPStandardImplementation: private virtual slsReceiverDefs, public UDPBase
*/
void closeFiles();
/**
* Restream stop dummy packet from receiver
* @return OK or FAIL
*/
int restreamStop();
private:

View File

@ -267,6 +267,9 @@ class slsReceiverTCPIPInterface : private virtual slsReceiverDefs {
/** set silent mode */
int set_silent_mode();
/** restream stop packet */
int restream_stop();
/** detector type */

View File

@ -63,6 +63,7 @@ enum recFuncs{
F_SET_RECEIVER_STREAMING_PORT, /** < sets the receiver streaming port */
F_SET_RECEIVER_SILENT_MODE, /** < sets the receiver silent mode */
F_RESTREAM_STOP_FROM_RECEIVER, /** < restream stop from receiver */
/* Always append functions hereafter!!! */