InProcess
Keywords: net.corda.testing.driver.InProcess interface
Date: 2023-09-18

net.corda.testing.driver

## Interface InProcess

- All Superinterfaces:
    NodeHandle

      @DoNotImplement
      public InProcess
      extends NodeHandle

  Interface which represents an in process node and exposes available services.

- - ### Constructor Detail

    - #### InProcess

          public InProcess()

  - ### Method Detail

    - #### getServices

          @NotNull
          ServiceHub getServices()

      Services which are available to this node

    - #### registerInitiatedFlow

          @NotNull
          <T extends FlowLogic<?>> rx.Observable<T> registerInitiatedFlow(@NotNull
                                                                                   java.lang.Class<T> initiatedFlowClass)

      Register a flow that is initiated by another flow

    - #### startFlow

          @NotNull
          <T> CordaFuture<T> startFlow(@NotNull
                                                FlowLogic<? extends T> logic)

      Starts an already constructed flow. Note that you must be on the server thread to call this method.