Java 类com.facebook.react.bridge.queue.MessageQueueThread 实例源码

项目:RNLearn_Project1    文件:CatalystInstanceImpl.java   
private native void initializeBridge(
ReactCallback callback,
JavaScriptExecutor jsExecutor,
MessageQueueThread jsQueue,
MessageQueueThread moduleQueue,
Collection<JavaModuleWrapper> javaModules,
Collection<ModuleHolder> cxxModules);
项目:RNLearn_Project1    文件:CatalystInstanceImpl.java   
private native void initializeBridge(
ReactCallback callback,
JavaScriptExecutor jsExecutor,
MessageQueueThread jsQueue,
MessageQueueThread moduleQueue,
Collection<JavaModuleWrapper> javaModules,
Collection<ModuleHolder> cxxModules);
项目:ReactNativeSignatureExample    文件:WebWorkers.java   
/**
 * Creates a new MessageQueueThread for a background web worker owned by the JS thread with the
 * given MessageQueueThread.
 */
@DoNotStrip
public static MessageQueueThread createWebWorkerThread(int id, MessageQueueThread ownerThread) {
  return MessageQueueThreadImpl.startNewBackgroundThread(
      "web-worker-" + id,
      new ProxyQueueThreadExceptionHandler(ownerThread));
}
项目:ReactNativeSignatureExample    文件:ReactBridge.java   
/**
 * @param jsExecutor the JS executor to use to run JS
 * @param callback the callback class used to invoke native modules
 * @param nativeModulesQueueThread the MessageQueueThread the callbacks should be invoked on
 */
public ReactBridge(
    JavaScriptExecutor jsExecutor,
    ReactCallback callback,
    MessageQueueThread nativeModulesQueueThread) {
  mJSExecutor = jsExecutor;
  mCallback = callback;
  mNativeModulesQueueThread = nativeModulesQueueThread;
  initialize(jsExecutor, callback, mNativeModulesQueueThread);
}
项目:react-native-ibeacon-android    文件:WebWorkers.java   
/**
 * Creates a new MessageQueueThread for a background web worker owned by the JS thread with the
 * given MessageQueueThread.
 */
@DoNotStrip
public static MessageQueueThread createWebWorkerThread(int id, MessageQueueThread ownerThread) {
  return MessageQueueThreadImpl.startNewBackgroundThread(
      "web-worker-" + id,
      new ProxyQueueThreadExceptionHandler(ownerThread));
}
项目:react-native-ibeacon-android    文件:ReactBridge.java   
/**
 * @param jsExecutor the JS executor to use to run JS
 * @param callback the callback class used to invoke native modules
 * @param nativeModulesQueueThread the MessageQueueThread the callbacks should be invoked on
 */
public ReactBridge(
    JavaScriptExecutor jsExecutor,
    ReactCallback callback,
    MessageQueueThread nativeModulesQueueThread) {
  mJSExecutor = jsExecutor;
  mCallback = callback;
  mNativeModulesQueueThread = nativeModulesQueueThread;
  initialize(jsExecutor, callback, mNativeModulesQueueThread);
}
项目:react-native-box-loaders    文件:WebWorkers.java   
/**
 * Creates a new MessageQueueThread for a background web worker owned by the JS thread with the
 * given MessageQueueThread.
 */
@DoNotStrip
public static MessageQueueThread createWebWorkerThread(int id, MessageQueueThread ownerThread) {
  return MessageQueueThreadImpl.startNewBackgroundThread(
      "web-worker-" + id,
      new ProxyQueueThreadExceptionHandler(ownerThread));
}
项目:react-native-box-loaders    文件:ReactBridge.java   
/**
 * @param jsExecutor the JS executor to use to run JS
 * @param callback the callback class used to invoke native modules
 * @param nativeModulesQueueThread the MessageQueueThread the callbacks should be invoked on
 */
public ReactBridge(
    JavaScriptExecutor jsExecutor,
    ReactCallback callback,
    MessageQueueThread nativeModulesQueueThread) {
  mJSExecutor = jsExecutor;
  mCallback = callback;
  mNativeModulesQueueThread = nativeModulesQueueThread;
  initialize(jsExecutor, callback, mNativeModulesQueueThread);
}
项目:ReactNativeSignatureExample    文件:ReactBridge.java   
private native void initialize(
JavaScriptExecutor jsExecutor,
ReactCallback callback,
MessageQueueThread nativeModulesQueueThread);
项目:react-native-ibeacon-android    文件:ReactBridge.java   
private native void initialize(
JavaScriptExecutor jsExecutor,
ReactCallback callback,
MessageQueueThread nativeModulesQueueThread);
项目:react-native-box-loaders    文件:ReactBridge.java   
private native void initialize(
JavaScriptExecutor jsExecutor,
ReactCallback callback,
MessageQueueThread nativeModulesQueueThread);
项目:Ironman    文件:CatalystInstanceImpl.java   
private native void initializeBridge(ReactCallback callback,
JavaScriptExecutor jsExecutor,
MessageQueueThread jsQueue,
MessageQueueThread moduleQueue,
ModuleRegistryHolder registryHolder);