Ejemplo n.º 1
0
        public RPC()
        {
            FormatValue = new FormatValueType();
            OutTime     = 800;

            ModuleDiy      = new Dictionary <string, object>();
            AsynRetrunDiy  = new Dictionary <long, Action <AsynReturn> >();
            ReturnValueDiy = new Dictionary <long, WaitReturnValue>();
            ZYProxyDiy     = new Dictionary <Type, ZYProxy>();
        }
Ejemplo n.º 2
0
        public RPC()
        {
            FormatValue = new FormatValueType();
            OutTime     = 2000;

            ModuleDiy      = new ConcurrentDictionary <string, ModuleDef>();
            AsynRetrunDiy  = new ConcurrentDictionary <long, AsynRetrunModule>();
            ReturnValueDiy = new ConcurrentDictionary <long, TaskCompletionSource <ZYClient_Result_Return> >();
            ZYProxyDiy     = new ConcurrentDictionary <Type, ZYProxy>();
        }