Index: mojo/public/dart/mojo/lib/src/proxy.dart |
diff --git a/mojo/public/dart/mojo/lib/src/proxy.dart b/mojo/public/dart/mojo/lib/src/proxy.dart |
index 2e5b93e209a82496f78b24e8424bfae49965295f..d5ed8530014a53ef02b5f31b1176996706920d1f 100644 |
--- a/mojo/public/dart/mojo/lib/src/proxy.dart |
+++ b/mojo/public/dart/mojo/lib/src/proxy.dart |
@@ -35,6 +35,13 @@ abstract class Proxy extends core.MojoEventStreamListener { |
/// call to [queryVersion] or [requireVersion] is made. |
int get version => _version; |
+ /// ServiceDescription returns a service description, which can be queried to |
+ /// examine the type information of the service associated with this |
+ /// ServiceRequest. |
rudominer
2015/11/13 02:18:18
"this ServiceRequest" doesn't make sense. This obj
alexfandrianto
2015/11/13 22:11:01
Good catch. I copy-pasted this from Go, so I will
|
+ /// Note: In some implementations, the ServiceDescription returned will not |
+ // provide type information. Methods called may return nil or an error. |
+ service_describer.ServiceDescription get description => null; |
+ |
void handleRead() { |
var result = endpoint.queryAndRead(); |
if ((result.data == null) || (result.dataLength == 0)) { |