feat(call): retire remote_safe/trusted_peer/RemoteFilter (call/retire-remote-safe)

This commit is contained in:
2026-06-28 21:52:40 +00:00
parent fb510d0887
commit 1f3e8b6ee8
8 changed files with 66 additions and 584 deletions

View File

@@ -18,12 +18,10 @@ use alknet_core::types::{Connection, HandlerError, ProtocolHandler};
use async_trait::async_trait;
use super::connection::CallConnection;
use super::dispatch::{Dispatcher, RemoteFilter};
use super::dispatch::Dispatcher;
use crate::registry::context::OperationContext;
use crate::registry::registration::OperationRegistry;
pub use super::dispatch::RemoteFilter as AdapterRemoteFilter;
#[cfg(test)]
use super::wire::ResponseEnvelope;
#[cfg(test)]
@@ -47,11 +45,8 @@ impl CallAdapter {
registry: Arc<OperationRegistry>,
identity_provider: Arc<dyn IdentityProvider>,
) -> Self {
// The accept path is not peer-scoped-filtered: a direct QUIC client is
// not a CallClient peer in the ADR-028 filtered sense, so the accept
// path lists/dispatches all External ops (trusted-peer posture).
Self {
dispatcher: Dispatcher::new(registry, identity_provider, RemoteFilter::trusted()),
dispatcher: Dispatcher::new(registry, identity_provider),
}
}