public ServerAgentSimulator(ClientAgentSimulator client) { this.client = client; this.User = new ServerUser(client.ClientName, "system.server"); this.User.IsOnline = true; // change opeartor's status to online this.User.PostOffice.Activate(this); // activate post office }
public void Destroy() { this.client.Dispose(); this.client = null; this.User = null; }