Example #1
0
        public TestEnv(T entry)
        {
            Entry = entry;
            IProtocol protocol = Regulus.Remote.Protocol.ProtocolProvider.Create(typeof(T2).Assembly).Single();

            _Service = new Regulus.Remote.Standalone.Service(entry, protocol);
            _Agent   = new Regulus.Remote.Ghost.Agent(protocol);
            _Service.Join(_Agent);


            Queryable = _Agent;

            _AgentUpdater = new ThreadUpdater(_Update);
            _AgentUpdater.Start();
        }
Example #2
0
 public static Regulus.Remote.Client.Tcp.Connecter CreateTcp(Ghost.IAgent agent)
 {
     return(new Regulus.Remote.Client.Tcp.Connecter(agent));
 }