Index: mojo/dart/packages/mojo/lib/src/stub.dart |
diff --git a/mojo/dart/packages/mojo/lib/src/stub.dart b/mojo/dart/packages/mojo/lib/src/stub.dart |
index ea09ae36467a34445595c894463a681ec68e9f45..1aa5e317819666caf75b278d142d160a31e1cb7a 100644 |
--- a/mojo/dart/packages/mojo/lib/src/stub.dart |
+++ b/mojo/dart/packages/mojo/lib/src/stub.dart |
@@ -132,4 +132,11 @@ abstract class Stub extends core.MojoEventHandler { |
} |
int get version; |
+ |
+ /// Returns a service description, which exposes the mojom type information |
zra
2016/01/27 18:15:12
Ditto.
alexfandrianto
2016/01/28 03:45:12
Done.
|
+ /// of the service being stubbed. 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; |
} |