diff options
author | Wim Taymans <wtaymans@redhat.com> | 2016-05-17 09:38:30 +0200 |
---|---|---|
committer | Wim Taymans <wtaymans@redhat.com> | 2016-05-17 09:38:30 +0200 |
commit | 4a5ed1e1f5bdc0743a88e4a669384c1a7e708e7c (patch) | |
tree | 34d361329a887cab6ab13f2e361b08f2ac267299 /doc/design.txt | |
parent | e85c3002f7d460293e566c13af8ee76ded240f18 (diff) |
Rework how clients connect.
Add buffer flags. The idea is to make it possible to easily check when a
buffer contains control information that we need to parse to update the
port fields.
Make the client create remote nodes and ports and set up proxies for
them.
Make a port base class implementing most of the logic to pass buffers
locally and remotely.
Remove most code from stream.c, it's now in the port.
Make a portsink and portsrc that can write and read to/from any port. We
use these in the server to send and receive data.
Rework format negotiation. The final format is now sent in-line before
the data. The server will select a format on output ports.
Diffstat (limited to 'doc/design.txt')
-rw-r--r-- | doc/design.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/design.txt b/doc/design.txt index a5ea6992..838705c7 100644 --- a/doc/design.txt +++ b/doc/design.txt @@ -197,10 +197,13 @@ Fixed header +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Version | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ + | Flags | + +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | Length | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ Version : 4 bytes : message version +Flags : 4 bytes : extra flags Length : 4 bytes : total message length |