Events etc.
Demetris G <[email protected]> Wed, 20 Jul 2005 11:45:02 -0400
| Newsgroups | gmane.comp.java.jxta.user,gmane.comp.java.jxta.devel |
|---|---|
| Message-ID | <42DE717E.2040903__11907.2124631659$1121874441$gmane$org@ece.neu.edu> |
Trying not to re-invent the wheel - is there a provision in spec or the Java ref impl for building events where a single process/thread can wait on a single statement for multiple events from multiple pipes ? In other words, can a super-pipe be defined that aggregates all pipes defined by a peer and allow it to receive and selectively act upon messages coming on all pipes (trying to avoid looping over all pipes). I may be asking something simple here that already exists or something that I need to some extensive work on - no idea yet. I will appreciate the help on this. Cheers