Home Help Center

Get Name Ice Box from its service

JinnJinn Member Victor LebedevOrganization: BFUProject: monitoring server ✭✭
Hi all!

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);



  • bernardbernard Jupiter, FLAdministrators, ZeroC Staff Bernard NormierOrganization: ZeroC, Inc.Project: Ice ZeroC Staff
    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,
Sign In or Register to comment.