public CommandBridge(AgentCore ghost_provider, GhostRequest ghost_request) { RequestQueue = this; ResponseQueue = this; _AgentCore = ghost_provider; _GhostRequest = ghost_request; }
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(); }