[kepler-users] receiving tokens on different ports

Chris Weed chrisweed at gmail.com
Fri Aug 14 07:32:00 PDT 2009


I am creating a custom display that receives different data types on
different ports,
image URL on one, GML data on another, etc.
When my actor fires, any one of these ports could have new data.
How do I figure out which one when I am using the PN director?
Normally, I would just loop through all of the ports, but
won't the port always return true for hasToken and then block when I call
port.get()?
I am confused how this should work.
Chris



More information about the Kepler-users mailing list