summaryrefslogtreecommitdiff
path: root/doc/design.txt
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2016-05-17 09:38:30 +0200
committerWim Taymans <wtaymans@redhat.com>2016-05-17 09:38:30 +0200
commit4a5ed1e1f5bdc0743a88e4a669384c1a7e708e7c (patch)
tree34d361329a887cab6ab13f2e361b08f2ac267299 /doc/design.txt
parente85c3002f7d460293e566c13af8ee76ded240f18 (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.txt3
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