public ConfigurationEventArgs()
 {
     Application = new Data.Transfer.Configuration.Application();
     Engine = new Data.Transfer.Configuration.Engine();
     Path = new Data.Transfer.Configuration.Path();
     Perks = new Data.Transfer.Configuration.Perks();
 }
 public ConfigurationEventArgs()
 {
     Application = new Data.Transfer.Configuration.Application();
     Engine      = new Data.Transfer.Configuration.Engine();
     Path        = new Data.Transfer.Configuration.Path();
     Perks       = new Data.Transfer.Configuration.Perks();
 }
示例#3
0
 public void SetApplicationConfiguration(
     string signature,
     Data.Transfer.Configuration.Application application,
     Data.Transfer.Configuration.Engine engine,
     Data.Transfer.Configuration.Path path,
     Data.Transfer.Configuration.Perks perks)
 {
     ApplicationProxy.Instance.SetApplicationConfiguration(
         this,
         GetClientIpAddress(),
         signature,
         application,
         engine,
         path,
         perks);
 }
示例#4
0
        public void SetApplicationConfiguration(
            RemotingService sender,
            string clientAddress,
            string signature,
            Data.Transfer.Configuration.Application application,
            Data.Transfer.Configuration.Engine engine,
            Data.Transfer.Configuration.Path path,
            Data.Transfer.Configuration.Perks perks)
        {
            ConfigurationEventArgs ea = new ConfigurationEventArgs()
            {
                IpAddress   = clientAddress,
                Signature   = signature,
                Application = application,
                Engine      = engine,
                Path        = path,
                Perks       = perks
            };

            if (SetConfigurationRequested != null)
            {
                SetConfigurationRequested(sender, ea);
            }
        }
示例#5
0
        public void GetApplicationConfiguration(
            RemotingService sender,
            string clientAddress,
            string signature,
            out Data.Transfer.Configuration.Application application,
            out Data.Transfer.Configuration.Engine engine,
            out Data.Transfer.Configuration.Path path,
            out Data.Transfer.Configuration.Perks perks)
        {
            ConfigurationEventArgs ea = new ConfigurationEventArgs();

            ea.IpAddress = clientAddress;
            ea.Signature = signature;

            if (GetConfigurationRequested != null)
            {
                GetConfigurationRequested(sender, ea);
            }

            application = ea.Application;
            engine      = ea.Engine;
            path        = ea.Path;
            perks       = ea.Perks;
        }