async-pep icon indicating copy to clipboard operation
async-pep copied to clipboard

Missing timer

Open flub opened this issue 14 years ago • 1 comments

I tried implementing AgentX following this draft, but the lack of a timer makes it pretty much impossible. The problem is that the protocol need to handle timeouts like a missing response etc. But with the pep as it stands you can not do this in the protocol class. I ended up extending the transport/protocol interface so the protocol can tell the transport the next time it needs to be woken up. Not sure that is the best way though.

flub avatar Jan 05 '12 11:01 flub

Can you provide a reference to how you extended it? Protocols don't just 'wake up', they have data delivered to them.

glyph avatar Oct 13 '12 05:10 glyph