mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
changin zmqip in rxr should also restart streaming
This commit is contained in:
parent
a0ad1fb3a3
commit
5d34358f44
@ -190,6 +190,12 @@ class UDPStandardImplementation: private virtual slsReceiverDefs, public UDPBase
|
||||
*/
|
||||
void setStreamingPort(const uint32_t i);
|
||||
|
||||
/**
|
||||
* Set streaming source ip and restart sockets if streaming was enabled
|
||||
* @param c streaming source ip
|
||||
*/
|
||||
void setStreamingSourceIP(const char* c);
|
||||
|
||||
|
||||
private:
|
||||
|
||||
|
@ -614,6 +614,15 @@ void UDPStandardImplementation::setStreamingPort(const uint32_t i) {
|
||||
}
|
||||
}
|
||||
|
||||
void UDPStandardImplementation::setStreamingSourceIP(const char c[]){
|
||||
strcpy(streamingSrcIP, c);
|
||||
FILE_LOG(logINFO) << "Streaming Source IP: " << streamingSrcIP;
|
||||
if (dataStreamEnable) {
|
||||
setDataStreamEnable(false);
|
||||
setDataStreamEnable(true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
void UDPStandardImplementation::SetLocalNetworkParameters() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user