public Visual( IGhostQuerier ghost_querier, Command command, Regulus.Utility.Console.IViewer viewer) { _GhostQuerier = ghost_querier; _Command = command; _Viewer = viewer; }
public Application() { var protocol = _CreateProtocol("MessagingGatewayDataDefine.Protocol.dll", "DataDefine.Protocol"); var agent = new Agent(protocol); _GhostQuerier = agent.GhostQuerier; // client _Binder = agent.Binder; // server _Agent = agent; }
public Agent(IProtocol protocol) { var protocol1 = protocol; _GhostRequest = new GhostRequest(protocol.GetSerialize()); _AgentCore = new AgentCore(protocol1); _CommandBridge = new CommandBridge(_AgentCore, _GhostRequest); _SoulProvider = new SoulProvider(_CommandBridge.RequestQueue, _CommandBridge.ResponseQueue, protocol1); Binder = _SoulProvider; GhostQuerier = this; _Launch(); }