public static void Call_ClrSystemHttpServer_OnNext(ulong handle, IHttpServerBridgeClr2Java clr2Java) { using (LOGGER.LogFunction("ClrSystemHandlerWrapper::Call_ClrSystemHttpServer_OnNext")) { GCHandle gc = GCHandle.FromIntPtr((IntPtr)handle); ClrSystemHandler <IHttpMessage> obj = (ClrSystemHandler <IHttpMessage>)gc.Target; obj.OnNext(new HttpMessage(clr2Java)); } }
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); } } }
public HttpMessage(IHttpServerBridgeClr2Java httpServerBridgeClr2Java) { HttpServerBridgeClr2Java = httpServerBridgeClr2Java; }
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); }} }
public HttpMessage(IHttpServerBridgeClr2Java httpServerBridgeClr2Java) { HttpServerBridgeClr2Java = httpServerBridgeClr2Java; }