internal void ReadRequest(RemoteConnection connection) { if(returnImmediately) { ReadArgs(connection.streamHandler); WorkerPool.EnqueueTask(() => ExecutionThreadEntry(connection)); return; } var h = connection.streamHandler; h.Read(out remoteThreadId); h.Read(out localThreadId); ReadArgs(h); if(localThreadId != 0) { var call = connection.callStack.Peek(localThreadId); lock(call.waitLock) { call.reentryCall = this; System.Threading.Monitor.PulseAll(call.waitLock); } } else { WorkerPool.EnqueueTask(() => ExecutionThreadEntry(connection)); } }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.TaskRunner.cfx_task_runner_post_delayed_task(@this, task, delayMs); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { CfxV8Value retval_local; CfxV8Exception exception_local; var self_local = (CfxV8Context)RemoteProxy.Unwrap(self); __retval = self_local.Eval(code, out retval_local, out exception_local); retval = RemoteProxy.Wrap(retval_local); exception = RemoteProxy.Wrap(exception_local); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = CfrApp.Wrap(this.sender); var e = new CfrOnRegisterCustomSchemesEventArgs(eventArgsId); sender.raise_OnRegisterCustomSchemes(sender, e); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = CfrApp.Wrap(this.sender); var e = new CfrOnBeforeCommandLineProcessingEventArgs(eventArgsId); sender.raise_OnBeforeCommandLineProcessing(sender, e); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxBinaryValue)RemoteProxy.Unwrap(self); __retval = self_local.GetData(buffer, bufferSize, dataOffset); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxOnLoadingStateChangeEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = e.IsLoading; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxOnLoadEndEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = e.HttpStatusCode; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = CfxApi.LoadHandler.cfx_load_handler_ctor(gcHandlePtr, 1); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxDomNode)RemoteProxy.Unwrap(self); __retval = self_local.ElementInnerText; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxDomNode)RemoteProxy.Unwrap(self); __retval = self_local.SetElementAttribute(attrName, value); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxDomNode)RemoteProxy.Unwrap(self); __retval = RemoteProxy.Wrap(self_local.LastChild); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxDomNode)RemoteProxy.Unwrap(self); __retval = (int)self_local.Type; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxDomNode)RemoteProxy.Unwrap(self); __retval = self_local.IsSame((CfxDomNode)RemoteProxy.Unwrap(that)); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = CfxApi.TaskRunner.cfx_task_runner_get_for_thread((int)threadId); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = RemoteProxy.Wrap(CfxProcessMessage.Create(name)); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxProcessMessage)RemoteProxy.Unwrap(self); __retval = self_local.IsValid; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { CfxLoadHandlerRemoteClient.SetCallback(self, index, active); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxOnLoadErrorEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = RemoteProxy.Wrap(e.Frame); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = CfxApi.V8Context.cfx_v8context_get_global(@this); }
internal CfxRemoteCallContext(RemoteConnection connection, int threadId) { this.connection = connection; ThreadId = threadId; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.V8Context.cfx_v8context_is_same(@this, that); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = CfrApp.Wrap(this.sender); var e = new CfrGetResourceBundleHandlerEventArgs(eventArgsId); sender.raise_GetResourceBundleHandler(sender, e); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = CfxApi.V8Context.cfx_v8context_get_entered_context(); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxOnBeforeCommandLineProcessingEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = e.ProcessType; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.XmlReader.cfx_xml_reader_is_empty_element(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxOnRegisterCustomSchemesEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = RemoteProxy.Wrap(e.Registrar); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.XmlReader.cfx_xml_reader_has_attributes(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = CfxV8Context.InContext(); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = (ulong)CfxApi.XmlReader.cfx_xml_reader_get_attribute_count(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxRequest)RemoteProxy.Unwrap(self); self_local.Url = value; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = StringFunctions.ConvertStringUserfree(CfxApi.XmlReader.cfx_xml_reader_get_outer_xml(@this)); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxProcessMessage)RemoteProxy.Unwrap(self); __retval = RemoteProxy.Wrap(self_local.ArgumentList); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.XmlReader.cfx_xml_reader_move_to_next_node(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = CfxRuntime.ExecuteProcessInternal((CfxApp)RemoteProxy.Unwrap(application)); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = CfxApi.XmlReader.cfx_xml_reader_get_line_number(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxOnLoadErrorEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = e.FailedUrl; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.XmlReader.cfx_xml_reader_move_to_attribute_byindex(@this, index); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = CfrLoadHandler.Wrap(this.sender); var e = new CfrOnLoadingStateChangeEventArgs(eventArgsId); sender.raise_OnLoadingStateChange(sender, e); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = (CfxV8Handler)RemoteProxy.Unwrap(this.sender); sender.Execute -= CfxV8HandlerExecuteBrowserProcessCall.EventCall; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = (CfxLoadHandler)RemoteProxy.Unwrap(this.sender); sender.OnLoadEnd += CfxOnLoadEndBrowserProcessCall.EventCall; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxV8HandlerExecuteEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = RemoteProxy.Wrap(e.Object); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = RemoteProxy.Wrap(CfxBinaryValue.Create(data, dataSize)); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxV8HandlerExecuteEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); value = CfxArray.GetProxyIds <CfxV8Value>(e.Arguments); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxBinaryValue)RemoteProxy.Unwrap(self); __retval = RemoteProxy.Wrap(self_local.Copy()); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxV8HandlerExecuteEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); e.Exception = value; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxGetResourceBundleHandlerEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); e.SetReturnValue((CfxResourceBundleHandler)RemoteProxy.Unwrap(value)); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var e = (CfxV8HandlerExecuteEventArgs)BrowserProcessCall.GetEventArgs(eventArgsId); e.SetReturnValue((CfxV8Value)RemoteProxy.Unwrap(value)); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = (CfxApp)RemoteProxy.Unwrap(this.sender); sender.OnBeforeCommandLineProcessing -= CfxOnBeforeCommandLineProcessingBrowserProcessCall.EventCall; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = RemoteProxy.Wrap(new CfxV8Handler()); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = RemoteProxy.Wrap(new CfxApp()); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.PostData.cfx_post_data_has_excluded_elements(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = (CfxApp)RemoteProxy.Unwrap(this.sender); sender.OnRegisterCustomSchemes -= CfxOnRegisterCustomSchemesBrowserProcessCall.EventCall; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = (ulong)CfxApi.PostData.cfx_post_data_get_element_count(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var sender = (CfxApp)RemoteProxy.Unwrap(this.sender); sender.GetRenderProcessHandler += CfxGetRenderProcessHandlerBrowserProcessCall.EventCall; }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.PostData.cfx_post_data_add_element(@this, element); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = RemoteProxy.Wrap(CfxV8Context.GetEnteredContext()); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { CfxApi.PostData.cfx_post_data_remove_elements(@this); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { var self_local = (CfxV8Context)RemoteProxy.Unwrap(self); __retval = self_local.Enter(); }
protected override void ExecuteInTargetProcess(RemoteConnection connection) { __retval = 0 != CfxApi.TaskRunner.cfx_task_runner_belongs_to_thread(@this, (int)threadId); }