Akka.Interfaced.SlimSocket.Server.UdpGateway.IGatewaySync C# (CSharp) Метод

IGatewaySync() приватный Метод

private IGatewaySync ( bool stopListenOnly ) : void
stopListenOnly bool
Результат void
        void IGatewaySync.Stop(bool stopListenOnly)
        {
            _logger?.Info($"Stop (StopListenOnly={stopListenOnly})");

            _isStopped = true;

            if (stopListenOnly)
            {
                _server.Configuration.AcceptIncomingConnections = false;
                return;
            }

            // stop listening and all running channels

            if (_server != null)
            {
                _server.Shutdown("ServerStop");
                _server = null;
            }

            if (_channelSet.Count == 0)
            {
                Self.Tell(InterfacedPoisonPill.Instance);
            }
        }

Same methods

UdpGateway::IGatewaySync ( ) : void