Service.Manager.Services.NotifyJoinService C# (CSharp) Method

NotifyJoinService() public method

public NotifyJoinService ( Service service, Network network ) : int
service Service
network Network
return int
        public int NotifyJoinService(Service service, Network network)
        {
            int count = 0;
            //이제 연결된 서비스들에게 상태를 보고함.
            for (int i = 0; i <= _maxIndex; i++)
            {
                if(network.GetAddress(_services[i]) == null)
                    continue;
                _services[i].NotifyJoinService(service, network);
                count++;
            }
            return count;
        }