IProtocol abstraction / Application facing interface
See original GitHub issueis there a common pattern to express HttpApplication, MqttApplication and others?
for me it is about transforming IDuplexPipe to IProtocol. What I think of is:
public interface IProtocol<TRequest,TResponse>
{
ChannelReader<TRequest> Input { get; }
ChannelWriter<TResponse> Output { get; }
}
public interface IProtocol<TMsg> : IProtocol<TMsg,TMsg>
{
}
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (12 by maintainers)
Top Results From Across the Web
Access iProtocol - Getting Started
Welcome to iProtocol, the IRB-SBS online application for creating, submitting, reviewing, and approving human subjects research protocols.
Read more >On device abstractions for portable, reusable robot code
This paper de- scribes the application of three well known abstractions, the character device model, the interface/driver model, and the client/server model to ......
Read more >21.1. Why Twisted?
With Twisted, the clients and servers are written in Python using a consistent interface. This makes it is easy to write new clients...
Read more >(PDF) Fighting livelock in the GNU i-protocol: a case study ...
Fighting Livelock in the i-Protocol 3 this abstraction of the protocol in VPL (Value Passing tial. Similarly, the results of our case study...
Read more >ABSTRACT
The goal of this thesis is to apply abstraction techniques to software systems (more specifically, programs written in the C programming language), in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Nice!! I need to iterate on the interface a bit since it forces allocations today. There needs to be a protocol reader interface that either returns a disposable or has an Advance method on it. I hope to get feedback for this.
This could be built on top. Right now the lowest level is basically a single call and when that task completes.
Thanks! This is my playground to figure out what is useful to people. I’m not sure if all of it will make it into .NET Core but hopefully some of the core abstractions will at some point.
thx for letting me know. and have nice holidays