Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
RegisterServerManagerMDNSONLY.prototype.start = function(callback)
{
const self = this;
assert(self.server);
assert(self.server instanceof OPCUABaseServer);
_announcedOnMulticastSubnet.call(self,{
applicationUri: self.server.serverInfo.applicationUri,
port: self.server.endpoints[0].port,
path: "/", //<- to do
capabilities: self.server.capabilitiesForMDNS
});
setImmediate(function() {
self.emit("serverRegistered");
setImmediate(callback);
});
};
RegisterServerManagerMDNSONLY.prototype.dispose = function(){