|
That's what your operating system does: it handles requests for
resources from multiple processes at once, and (hopefully)
keep processes from colliding with one another.
POE is very featureful.
POE has
- a kernel: the object in charge
- sessions: (sort of like processes, but all of these exist within the same perl process!)
- states: states recieve events - either the built-in ones, like _start and _stop or user-supplied
events like "get_status" or "add_three_numbers" for example.
- sessions: sessions are like mini applications - they're the part of POE that gets stuff done
- filters: man(gles|unges) input/output ala stream filters
- wheels: pass data between sockets and sessions through filters
Cool huh? We're only going to talk about the kernel, sessions and states for now. |