Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
62d0d0d4
Commit
62d0d0d4
authored
Sep 19, 2013
by
Kenton Varda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarify that question and export IDs are per-connection and suggest how to allocate them.
parent
7d0f5e6f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
rpc.capnp
c++/src/capnp/rpc.capnp
+8
-2
No files found.
c++/src/capnp/rpc.capnp
View file @
62d0d0d4
...
@@ -107,13 +107,19 @@ $Cxx.namespace("capnp::rpc");
...
@@ -107,13 +107,19 @@ $Cxx.namespace("capnp::rpc");
# ========================================================================================
# ========================================================================================
# The Four Tables
# The Four Tables
#
#
# As in CapTP, for each open connection, a vat maintains four tables: questions, answers, imports,
# Cap'n Proto RPC connections are stateful (although an application built on Cap'n Proto could
# and exports. See the diagram at:
# export a stateless interface). As in CapTP, for each open connection, a vat maintains four state
# tables: questions, answers, imports, and exports. See the diagram at:
# http://www.erights.org/elib/distrib/captp/4tables.html
# http://www.erights.org/elib/distrib/captp/4tables.html
#
#
# The question table corresponds to the other end's answer table, and the imports table corresponds
# The question table corresponds to the other end's answer table, and the imports table corresponds
# to the other end's exports table.
# to the other end's exports table.
#
#
# The entries in each table are identified by ID numbers (defined below as 32-bit integers). These
# numbers are always specific to the connection; a newly-established connection starts with no
# valid IDs. Since low-numbered IDs will pack better, it is suggested that IDs be assigned like
# Unix file descriptors -- prefer the lowest-number ID that is currently available.
#
# IDs in the questions/answers tables are chosen by the questioner and generally represent method
# IDs in the questions/answers tables are chosen by the questioner and generally represent method
# calls that are in progress.
# calls that are in progress.
#
#
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment