<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/arti-rpcserver/src/session.rs, branch arti-v1.2.3</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.3</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.3'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-04-22T16:02:29Z</updated>
<entry>
<title>RPC: Remove method and object type from macros.</title>
<updated>2024-04-22T16:02:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-11T18:14:14Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2c97716406aa2d0fb30b813776a158a72e133e11'/>
<id>urn:sha1:2c97716406aa2d0fb30b813776a158a72e133e11</id>
<content type='text'>
These are no longer needed, since they are inferred from the types
of the functions.
</content>
</entry>
<entry>
<title>rpc: Move deftly attributes into an `rpc` namespace.</title>
<updated>2024-04-11T12:56:53Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-11T12:56:53Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=f96ca62bed8bd1ab42fc069331aef049e9c4515e'/>
<id>urn:sha1:f96ca62bed8bd1ab42fc069331aef049e9c4515e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Globally rename rpc_invoke_fn to static_rpc_invoke_fn</title>
<updated>2024-04-08T13:07:42Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-08T13:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=40b4611d6c07788ae3d71c0a2b243d2ff3d17d6f'/>
<id>urn:sha1:40b4611d6c07788ae3d71c0a2b243d2ff3d17d6f</id>
<content type='text'>
This will be called _static_ to make it clear that it registers the
method statically, so you don't need to install it at runtime.

After a bit more work, there will be a separate macro that declares
an installer function.
</content>
</entry>
<entry>
<title>Refactor: remove existence of HasConstTypeId_ as a trait</title>
<updated>2024-04-08T13:00:29Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-08T12:51:56Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=5155e9add7b0f94a8d95eae257c9c2a3e64d5566'/>
<id>urn:sha1:5155e9add7b0f94a8d95eae257c9c2a3e64d5566</id>
<content type='text'>
We don't actually need this to be a trait; we just need
methods and objects to have a `CONST_TYPE_ID_` if they want to
participate in the inventory-based method registry.

Removing this trait makes it much simpler to declare methods and
objects.
</content>
</entry>
<entry>
<title>Port many of the macros in tor-rpcbase to use derive-deftly.</title>
<updated>2024-04-04T20:42:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-04-04T20:04:39Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=66cfabc442bfc1779a4748b89d0be2d51f908fc9'/>
<id>urn:sha1:66cfabc442bfc1779a4748b89d0be2d51f908fc9</id>
<content type='text'>
This simplifies our implementation logic in a few places,
and simplifies our invocation syntax greatly.  There are a few
infelicities, noted in `TODO RPC` comments.
</content>
</entry>
<entry>
<title>rpc: Fix docs typo</title>
<updated>2023-06-20T11:38:31Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-20T11:38:31Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=3e704a080ccc051f7058a4d498448ea536dfcc65'/>
<id>urn:sha1:3e704a080ccc051f7058a4d498448ea536dfcc65</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Document relationship between `Connection` and `RpcSession`</title>
<updated>2023-06-16T16:48:59Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2023-06-16T16:07:48Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=0460a4a4d806e07b82bbd9747885a62593a0229d'/>
<id>urn:sha1:0460a4a4d806e07b82bbd9747885a62593a0229d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: revise session initialization a lot.</title>
<updated>2023-06-15T15:44:14Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-15T15:40:36Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=2d28402fb796d89277079e6745f4a2908ac0c23a'/>
<id>urn:sha1:2d28402fb796d89277079e6745f4a2908ac0c23a</id>
<content type='text'>
Formerly, every time we wanted to launch a new connection, we had
to give the RpcMgr a TorClient.  The connection would hold that
TorClient until a session was authenticated, and then would wrap
it in a Session and put it in the object map.

Now, the RpcMgr holds a Box&lt;dyn Fn()...&gt; that knows how to
create Sessions.  When a connection is authenticated, it
asks the Mgr to make it a new session.  This lets us make it
clearer that the TorClient simply can't be given out until the
connection is authenticated.  Later, it will let us create
more types of Session objects under more complicated rules.
</content>
</entry>
<entry>
<title>rpc: Rename Session=&gt;RpcSession</title>
<updated>2023-06-15T15:29:57Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-15T15:29:57Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6da1acadab4a39c3a137c5f0a8db083d186f0d98'/>
<id>urn:sha1:6da1acadab4a39c3a137c5f0a8db083d186f0d98</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rpc: Expose Session object.</title>
<updated>2023-06-15T15:28:34Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2023-06-15T15:28:34Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=269fab7abedaaec5fe5873d36e8cd55e9d5dee7d'/>
<id>urn:sha1:269fab7abedaaec5fe5873d36e8cd55e9d5dee7d</id>
<content type='text'>
We'll want to move the responsibility for creating Sessions outside
the rpcmgr crate.
</content>
</entry>
</feed>
