tag | 518418df1a2723b46b779771756e59973613ef21 | |
---|---|---|
tagger | Natalie Weizenbaum <nweiz@google.com> | Tue Feb 09 11:12:11 2016 -0800 |
object | 4556f5e95043854a2fc61d2610e7cfb8c830dfd8 |
Add a Disconnector transformer.
commit | 4556f5e95043854a2fc61d2610e7cfb8c830dfd8 | [log] [tgz] |
---|---|---|
author | Natalie Weizenbaum <nweiz@google.com> | Tue Feb 09 11:11:06 2016 -0800 |
committer | Natalie Weizenbaum <nweiz@google.com> | Tue Feb 09 11:11:06 2016 -0800 |
tree | e81ff8a49255996b20e9b83793897de9eacb1b69 | |
parent | 89c732f6651f90db1090400ba9141f93f95bd892 [diff] |
Add a Disconnector class. R=tjblasi@google.com Review URL: https://codereview.chromium.org//1679193002 .
This package exposes the StreamChannel
interface, which represents a two-way communication channel. Each StreamChannel
exposes a Stream
for receiving data and a StreamSink
for sending it.
StreamChannel
helps abstract communication logic away from the underlying protocol. For example, the test
package re-uses its test suite communication protocol for both WebSocket connections to browser suites and Isolate connections to VM tests.
This package also contains utilities for dealing with StreamChannel
s and with two-way communications in general. For documentation of these utilities, see the API docs.