mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-02-01 14:34:56 +01: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