| Index: benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
|
| diff --git a/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart b/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
|
| index b9053056bd7c108371836bce68b06445cd863db7..04a2601582778318673e3220707f38d322c0b3a9 100644
|
| --- a/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
|
| +++ b/benchmarks/mojo_rtt_benchmark/lib/echo_server.dart
|
| @@ -10,18 +10,18 @@ import 'package:mojo/core.dart';
|
| import 'package:_mojo_for_test_only/mojo/examples/echo.mojom.dart';
|
|
|
| class EchoImpl implements Echo {
|
| - EchoStub _stub;
|
| + EchoInterface _echo;
|
| EchoApplication _application;
|
|
|
| EchoImpl(this._application, MojoMessagePipeEndpoint endpoint) {
|
| - _stub = new EchoStub.fromEndpoint(endpoint, this);
|
| - _stub.ctrl.onError = _errorHandler;
|
| + _echo = new EchoInterface.fromEndpoint(endpoint, this);
|
| + _echo.ctrl.onError = _errorHandler;
|
| }
|
|
|
| echoString(String value, [Function responseFactory]) =>
|
| responseFactory(value);
|
|
|
| - Future close() => _stub.close();
|
| + Future close() => _echo.close();
|
|
|
| _errorHandler(Object e) => _application.removeService(this);
|
| }
|
|
|