mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-16 06:47:14 +02:00
big change half done
This commit is contained in:
@ -517,13 +517,15 @@ slsReceiverDefs::runStatus UDPStandardImplementation::getStatus() const{
|
||||
}
|
||||
|
||||
|
||||
void UDPStandardImplementation::initialize(const char *detectorHostName){
|
||||
void UDPStandardImplementation::setDetectorHostname(const char *detectorHostName){
|
||||
if(strlen(detectorHostName))
|
||||
strcpy(detHostname,detectorHostName);
|
||||
}
|
||||
|
||||
|
||||
char *UDPStandardImplementation::getDetectorHostname() const{
|
||||
if(!strlen(detHostname))
|
||||
return NULL;
|
||||
return (char*)detHostname;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user