commit | f8c8d186f5b96d09b41f00d116d7008ad2036d56 | [log] [tgz] |
---|---|---|
author | Yogeshwar Nagaraj <nyogeshwar@google.com> | Wed Apr 01 13:09:08 2020 -0700 |
committer | Yogeshwar Nagaraj <nyogeshwar@google.com> | Mon Apr 13 11:20:53 2020 -0700 |
tree | efdebce297b4c05129c3f7cb3d0653a3c0a9898c | |
parent | 259c4f2dc040c5f41b2311a411527f84dd04a156 [diff] |
Adding a GrpcGraph that communicates with a remote graph through GRPC. 1) Added asynchronous GRPC client that communicates with the service through completion queues 2) Added a stream observer that observes output streams and relays the data back to the engine. The stream observer also reports graph stoppage back to the graph by notifying it when all output streams are closed. 3) Added a test with a sample synchronous service to test out the core of the algorithm implemented. Bug: 145227010 Test: Added a unit test Change-Id: I88667558865f66cb2fcb08a2c78008ab58cda603
Native (C++) code format is required to be compatible with .clang-format file. Run
git clang-format --style=file --extension='h,cpp,cc' HEAD~
Note that clang-format is not desirable for Android java files. Therefore the command line above is limited to specific extensions.