示例#1
0
        public IInstance CreateEndpoint()
        {
            Gateway.Settings.IValues settings = _settingsProvider.GetValues();

            Instance endpoint = new Instance(_responseParser, settings.LocalCommandEndpoint, settings.OwlCommandEndpoint, settings.OwlCommandResponseTimeout, settings.OwlCommandKey);

            Instrumentation.Command.Endpoint.CreatedAt(settings.LocalCommandEndpoint.Address.ToString(), settings.LocalCommandEndpoint.Port);

            return(endpoint);
        }
示例#2
0
        public IInstance CreateEndpoint()
        {
            Gateway.Settings.IValues settings = _settingsProvider.GetValues();

            return(new Instance(_packetParser, settings.LocalPacketEndpoint));
        }