Archived
This forum has been archived. Please start a new discussion on GitHub.
Get Name Ice Box from its service
in Help Center
Hi all!
How in service get name its IceBOX?
How in service get name its IceBOX?
public class ServiceI : IceBox.Service { public void start(string name, Ice.Communicator communicator, string[] args) { _name = name; // How get name Ice Box in this point? InitMonitoringSystem(name, communicator); InitServiceProtection(name, communicator, args); } ...
0
Comments
-
Hi Victor,
Your question is not very clear. Are you asking where the IceBox service name is coming from?
The IceBox service name is coming from the IceBox configuration:
Configuring IceBox Services - Ice 3.5 - ZeroC
It's IceBox.Service.ServiceName=...
and ServiceName is (and sets) the name of the service.
Best regards,
Bernard0