1 implementation of INativeRpcPeer
Aspire.Hosting.Native.Server (1)
Rpc\NativeRpcPeer.cs (1)
19internal sealed class NativeRpcPeer(Stream stream, NativeServerOptions options, ILogger logger) : INativeRpcPeer
15 references to INativeRpcPeer
Aspire.Hosting.Native.Server (15)
Rpc\INativeRpcPeer.cs (1)
21INativeRpcPeer Create(Stream stream);
Rpc\NativeBackchannelRpc.cs (1)
27using var peer = peers.Create(stream);
Rpc\NativeProviderLifecycle.cs (2)
65var peer = registration.Peer; 123INativeRpcPeer? peer;
Rpc\NativeProviderRegistry.cs (7)
17Task RegisterAsync(NativeRpcConnection connection, string authority, INativeRpcPeer peer); 66public async Task RegisterAsync(NativeRpcConnection connection, string authority, INativeRpcPeer peer) 455var peers = new List<INativeRpcPeer>(); 486foreach (var peer in peers) 492internal sealed class Registration(NativeRpcConnection owner, NativeRpcConnection connection, INativeRpcPeer peer, 497private INativeRpcPeer? _peer = peer; 500public INativeRpcPeer Peer => _peer ?? throw Unavailable();
Rpc\NativeRpcConnection.cs (2)
36private INativeRpcPeer? _peer; 43internal void AttachProviderTransport(INativeProviderRegistry providers, INativeRpcPeer peer)
Rpc\NativeRpcListener.cs (1)
192using var peer = _peers.Create(stream);
Rpc\NativeRpcPeer.cs (1)
15public INativeRpcPeer Create(Stream stream) => new NativeRpcPeer(stream, options, logger);