public GhostMethodHandler(IGhost ghost, ReturnValueQueue return_value_queue, IProtocol protocol, IGhostRequest requester) { _Ghost = ghost; _ReturnValueQueue = return_value_queue; _Protocol = protocol; _Requester = requester; }
public AgentCore(IProtocol protocol) { _Protocol = protocol; _Serializer = _Protocol.GetSerialize(); _GhostInterfaceProvider = protocol.GetInterfaceProvider(); _ReturnValueQueue = new ReturnValueQueue(); _ServerProviders = new Dictionary <Type, IProvider>(); _AutoRelease = new AutoRelease(_Requester); }