commit | 0f82f6e7cca14510d05c0ef9f456d7e71dfb6284 | [log] [tgz] |
---|---|---|
author | Leo Neumeyer <leo@s4.io> | Thu Jul 14 18:50:44 2011 -0700 |
committer | Leo Neumeyer <leo@s4.io> | Thu Jul 14 18:50:44 2011 -0700 |
tree | c9f993ed2ba800ae4b3ed66e352a7ea4487eece8 | |
parent | f1c72422a6e9ab148ddc8f528da9b4846219ed54 [diff] |
Added Key class
I think this can be pretty simple and clean. This is just a first pass, we need to brainstorm and have a few iterations.
https://github.com/leoneu/s4-piper
The event/key is a atomic unit
A PE can listen to many event/keys
for a given PE inst. the set of key values of incoming events have to be the same. (pe inst is keyed on the value)
For each pe inst. each event type has to be mapped to a processing method
currently maps to method signature (which takes event as param) we are happy with this approach.