Commit Graph

18 Commits (quic-wip)

Author SHA1 Message Date
dr7ana ac6255c736 Squashed commits for merge errors afer fixing client-refactor:
- Deprecate pathset, smashed into PathBuilder (renamed to PathHandler)
- Re-abstraction of sessions and PathHandlers
  - Renamed PathBuilder -> PathHandler to more accurately reflect purpose
  - {Service,Exit}Handler will remain as PathHandlers, though currently no path-sharing amongst sessions being managed is to be implemented. Handlers will maintain their own paths for both lookups and initiating sessions, while sessions will manage their paths independantly.
  - Session object handling necessitates the differentiation between outbound and inbound sessions. Initiators of sessions are entirely responsible for dictating the chosen path on which the session communicates, and must therefore continually build and manage paths for the negotiated session.
  - Outbound sessions are now {Service,Exit}Sessions
  - Inbound sessions are implemented with InboundSession, which is agnostic to the type of service being operated locally (service vs exit, client vs relay, etc). When the Session initiator signals a switch to a different path, it will be assigned to the InboundSession object by {Service,Exit}Endpoint, which manages local services and exits
8 months ago
dr7ana 5f8e1ada15 formatting 8 months ago
Thomas Winget 7caa87862e standardize include format and pragma once
All #ifndef guards on headers have been removed, I think,
in favor of #pragma once

Headers are now included as `#include "filename"` if the included file
resides in the same directory as the file including it, or any
subdirectory therein.  Otherwise they are included as
`#include <project/top/dir/relative/path/filename>`

The above does not include system/os headers.
4 years ago
Jason Rhinelander 1697bf90fe C++17
Compiles with C++17, replaces ghc::filesystem with std::filesystem,
nonstd::optional with std::optional, and llarp::string_view with
std::string_view.
4 years ago
Jason Rhinelander fe61367a87 Vastly simplified llarp::util::memFn
There is a huge pile of unnecessary machinery here that can be solved
with a few lambdas and some member function pointer type deduction.
5 years ago
Michael 094b697b01
Replace StatusObject with underlying JSON type 5 years ago
Jeff Becker d6ec528a72
start work on seperating ips out of endpoint 5 years ago
Michael 1744ae7686
Tidy up service endpoint a bit more 5 years ago
Michael c39c931d03
Remove IStateful virtual inheritance 6 years ago
Michael 31441b46dc
Convert from rapidjson to use nlohmann::json 6 years ago
Michael 4132f883a7
Make libabyss mandatory 6 years ago
Rick V 5a3947ca5c
clang-format 6 years ago
Michael a0125ffe86
Move abyss/json to llarp/util/json 6 years ago
Jeff Becker b5a1637224
make shared lib compile 6 years ago
Jeff Becker 46222df421
refactor 6 years ago
Jeff Becker e1fceb3636
fix it (again) 6 years ago
Jeff Becker 66753430ad
fix it 6 years ago
Jeff Becker e1522faeaa
add introspection rpc endpoint 6 years ago