Exemplo n.º 1
0
 // Constructor that can be used by tests to pass in mock objects.
 internal SbDebuggerImpl(GrpcConnection connection, GrpcTargetFactory sbTargetFactory,
                         GrpcPlatformFactory sbPlatformFactory,
                         GrpcSbCommandInterpreterFactory sbCommandInterpreterFactory,
                         SbDebuggerRpcService.SbDebuggerRpcServiceClient client)
 {
     this.connection                  = connection;
     this.sbTargetFactory             = sbTargetFactory;
     this.sbPlatformFactory           = sbPlatformFactory;
     this.sbCommandInterpreterFactory = sbCommandInterpreterFactory;
     this.client = client;
 }
Exemplo n.º 2
0
 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;
 }