| Index: mojo/dart/packages/mojo/lib/src/proxy.dart
|
| diff --git a/mojo/dart/packages/mojo/lib/src/proxy.dart b/mojo/dart/packages/mojo/lib/src/proxy.dart
|
| index 066a5673d71dadfa74cfc8d3dc81be9cdcbf10ab..7b0e393d88fdc0223c2e44fdb8f6499ca8a6cc41 100644
|
| --- a/mojo/dart/packages/mojo/lib/src/proxy.dart
|
| +++ b/mojo/dart/packages/mojo/lib/src/proxy.dart
|
| @@ -35,6 +35,13 @@ abstract class Proxy extends core.MojoEventHandler {
|
| /// call to [queryVersion] or [requireVersion] is made.
|
| int get version => _version;
|
|
|
| + /// Returns a service description, which exposes the mojom type information
|
| + /// of the service being proxied. This type information can be forwarded to
|
| + /// other Mojo applications and can be used to implement a generic client.
|
| + /// Note: In some implementations, the ServiceDescription returned will not
|
| + /// provide type information. Methods called may return null or an error.
|
| + service_describer.ServiceDescription get description => null;
|
| +
|
| void handleRead() {
|
| var result = endpoint.queryAndRead();
|
| if ((result.data == null) || (result.dataLength == 0)) {
|
|
|