diff --git a/src/dotnetCampus.Ipc/IpcRouted/IpcRouted.cs b/src/dotnetCampus.Ipc/IpcRouted/IpcRouted.cs new file mode 100644 index 00000000..61f88bb8 --- /dev/null +++ b/src/dotnetCampus.Ipc/IpcRouted/IpcRouted.cs @@ -0,0 +1,58 @@ +using System; +using System.Collections.Generic; +using System.Threading.Tasks; + +using dotnetCampus.Ipc.Context; +using dotnetCampus.Ipc.Messages; +using dotnetCampus.Ipc.Pipes; + +namespace dotnetCampus.Ipc +{ + + class IpcRequestHandler : IIpcRequestHandler + { + public Task HandleRequest(IIpcRequestContext requestContext) + { + throw null; + } + } + + public class IpcRoutedAttribute : Attribute + { + public IpcRoutedAttribute(string path) + { + Path = path; + } + + public string Path { get; } + } + + public interface IIpcRoutedHandler + { + + } + + public class IpcRoutedRequestContext + { + + + public IPeerProxy Peer { get; } + + public IpcMessage IpcMessage { get; } + + + } + + public class IpcRoutedFramework + { + public IpcRoutedFramework(IEnumerable<(IpcRoutedAttribute attribute, Func creator)> collection) + { + + } + + public IIpcRequestHandler BuildIpcRequestHandler() + { + throw null; + } + } +}