Example #1
0
 public GhostMethodHandler(IGhost ghost, ReturnValueQueue return_value_queue, IProtocol protocol, IGhostRequest requester)
 {
     _Ghost            = ghost;
     _ReturnValueQueue = return_value_queue;
     _Protocol         = protocol;
     _Requester        = requester;
 }
Example #2
0
        public AgentCore(IProtocol protocol)
        {
            _Protocol               = protocol;
            _Serializer             = _Protocol.GetSerialize();
            _GhostInterfaceProvider = protocol.GetInterfaceProvider();

            _ReturnValueQueue = new ReturnValueQueue();

            _ServerProviders = new Dictionary <Type, IProvider>();

            _AutoRelease = new AutoRelease(_Requester);
        }