Esempio n. 1
0
 public MCSlaveConnection(MCSlaveServer parent, TcpClient client)
 {
     this.Parent = parent;
     this.Client = client;
     this.Stream = client.GetStream();
     this.Logger = new MCLogger(parent.Logger);
 }
Esempio n. 2
0
        public MCObjectSlave()
        {
            this._MemoryMap = new MCMemoryMap();

            this.Server1      = new MCSlaveServer(this);
            this.Server1.Name = "Server1";

            this.Server2      = new MCSlaveServer(this);
            this.Server2.Name = "Server2";
        }