public static void Call_ClrSystemAllocatedEvaluatorHandler_OnNext(ulong handle, IAllocatedEvaluaotrClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemAllocatedEvaluatorHandler_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler<IAllocatedEvaluator> obj = (ClrSystemHandler<IAllocatedEvaluator>)gc.Target;
         obj.OnNext(new AllocatedEvaluator(clr2Java, _driverBridge.ConfigurationProviders));
     }       
 }
Пример #2
0
        public AllocatedEvaluator(IAllocatedEvaluaotrClr2Java clr2Java)
        {
            InstanceId  = Guid.NewGuid().ToString("N");
            _serializer = new AvroConfigurationSerializer();
            Clr2Java    = clr2Java;
            Id          = Clr2Java.GetId();
            ProcessNewEvaluator();

            NameServerInfo = Clr2Java.GetNameServerInfo();
        }
        public AllocatedEvaluator(IAllocatedEvaluaotrClr2Java clr2Java, ISet<IConfigurationProvider> configurationProviders)
        {
            _configurationProviders = configurationProviders;
            InstanceId = Guid.NewGuid().ToString("N");
            _serializer = new AvroConfigurationSerializer();
            Clr2Java = clr2Java;
            Id = Clr2Java.GetId();
            ProcessNewEvaluator();

            NameServerInfo = Clr2Java.GetNameServerInfo();
        }
Пример #4
0
 public static void Call_ClrSystemAllocatedEvaluatorHandler_OnNext(ulong handle, IAllocatedEvaluaotrClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemAllocatedEvaluatorHandler_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <IAllocatedEvaluator> obj = (ClrSystemHandler <IAllocatedEvaluator>)gc.Target;
         obj.OnNext(new AllocatedEvaluator(clr2Java, _driverBridge.ConfigurationProviders));
     }
 }