internal SbProcessImpl(GrpcConnection connection, GrpcSbProcess grpcSbProcess, GrpcThreadFactory threadFactory, GrpcTargetFactory targetFactory, GrpcUnixSignalsFactory unixSignalsFactory, GrpcErrorFactory errorFactory, SbProcessRpcService.SbProcessRpcServiceClient client) { this.connection = connection; this.grpcSbProcess = grpcSbProcess; this.client = client; this.threadFactory = threadFactory; this.targetFactory = targetFactory; this.unixSignalsFactory = unixSignalsFactory; this.errorFactory = errorFactory; }
internal RemoteFrameProxy(GrpcConnection connection, GrpcSbFrame grpcSbFrame, RemoteFrameRpcService.RemoteFrameRpcServiceClient client, GrpcModuleFactory moduleFactory, GrpcThreadFactory threadFactory, GrpcValueFactory valueFactory, GrpcFunctionFactory functionFactory, GrpcSymbolFactory symbolFactory) { this.connection = connection; this.grpcSbFrame = grpcSbFrame; this.client = client; this.moduleFactory = moduleFactory; this.threadFactory = threadFactory; this.valueFactory = valueFactory; this.functionFactory = functionFactory; this.symbolFactory = symbolFactory; // Keep a handle to objects we need in the destructor. gcHandle = GCHandle.Alloc( new Tuple < GrpcConnection, RemoteFrameRpcService.RemoteFrameRpcServiceClient, GrpcSbFrame> (connection, client, grpcSbFrame)); }