public static void Call_ClrSystemFailedTask_OnNext(ulong handle, IFailedTaskClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemFailedTask_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <IFailedTask> obj = (ClrSystemHandler <IFailedTask>)gc.Target;
         obj.OnNext(new FailedTask(clr2Java));
     }
 }
 public static void Call_ClrSystemEvaluatorRequestor_OnNext(ulong handle, IEvaluatorRequestorClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemEvaluatorRequestor_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <IEvaluatorRequestor> obj = (ClrSystemHandler <IEvaluatorRequestor>)gc.Target;
         obj.OnNext(new EvaluatorRequestor(clr2Java));
     }
 }
 public static void Call_ClrSystemTaskMessage_OnNext(ulong handle, ITaskMessageClr2Java clr2Java, byte[] message)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemTaskMessage_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <ITaskMessage> obj = (ClrSystemHandler <ITaskMessage>)gc.Target;
         obj.OnNext(new TaskMessage(clr2Java, message));
     }
 }
 public static void Call_ClrSystemDriverRestartActiveContextHandler_OnNext(ulong handle, IActiveContextClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemDriverRestartActiveContextHandler_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <IActiveContext> obj = (ClrSystemHandler <IActiveContext>)gc.Target;
         obj.OnNext(new ActiveContext(clr2Java));
     }
 }
 public static void Call_ClrSystemAllocatedEvaluatorHandler_OnNext(ulong handle, IAllocatedEvaluatorClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemAllocatedEvaluatorHandler_OnNext", clr2Java.GetId()))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <IAllocatedEvaluator> obj = (ClrSystemHandler <IAllocatedEvaluator>)gc.Target;
         obj.OnNext(new AllocatedEvaluator(clr2Java, _driverBridge.ConfigurationStringForProviders));
     }
 }
 public static void Call_ClrSystemDriverRestartCompleted_OnNext(ulong handle, IDriverRestartCompletedClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemDriverRestartCompleted_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <IDriverRestartCompleted> obj = (ClrSystemHandler <IDriverRestartCompleted>)gc.Target;
         obj.OnNext(new DriverRestartCompleted(clr2Java));
     }
 }
示例#7
0
 public static void Call_ClrSystemDriverRestart_OnNext(ulong handle)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemDriverRestart_OnNext"))
     {
         GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
         ClrSystemHandler <StartTime> obj = (ClrSystemHandler <StartTime>)gc.Target;
         obj.OnNext(new StartTime(DateTime.Now.Ticks));
     }
 }
 public static void Call_ClrSystemHttpServer_OnNext(ulong handle, IHttpServerBridgeClr2Java clr2Java)
 {
     using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemHttpServer_OnNext"))
     {
         try
         {
             GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle);
             if (!gc.IsAllocated)
             {
                 LOGGER.Log(Level.Warning, "gc is not allocated.");
             }
             ClrSystemHandler <IHttpMessage> obj = (ClrSystemHandler <IHttpMessage>)gc.Target;
             obj.OnNext(new HttpMessage(clr2Java));
         }
         catch (Exception ex)
         {
             LOGGER.Log(Level.Info, "Caught exception: " + ex.Message + ex.StackTrace);
             Exceptions.CaughtAndThrow(ex, Level.Warning, LOGGER);
         }
     }
 }