public GhostMethodHandler(IGhost ghost, ReturnValueQueue return_value_queue, IProtocol protocol, Regulus.Remote.IGhostRequest requester) { _Ghost = ghost; _ReturnValueQueue = return_value_queue; _Protocol = protocol; _Requester = requester; }
public AgentCore(IProtocol protocol) { _ReturnValueQueue = new ReturnValueQueue(); _Protocol = protocol; _GhostProvider = _Protocol.GetInterfaceProvider(); _Serializer = _Protocol.GetSerialize(); _Providers = new Dictionary <Type, IProvider>(); _AutoRelease = new AutoRelease(_Requester, _Serializer); }
public GhostProvider(IProtocol protocol, IGhostRequest req) { _Active = false; _Requester = req; _NotifierPassage = new SoulNotifier(); _ReturnValueQueue = new ReturnValueQueue(); _Protocol = protocol; _InterfaceProvider = _Protocol.GetInterfaceProvider(); _Serializer = _Protocol.GetSerialize(); _Providers = new Dictionary <Type, IProvider>(); _AutoRelease = new AutoRelease(_Requester, _Serializer); }