util
Class MultiInputConsumerQueue
java.lang.Object
|
+--util.MultiInputConsumerQueue
- public class MultiInputConsumerQueue
- extends Object
This class is modelled after the same behavoir as that of the
ConsumerQueue except that it allows for mulitple channel
inputs.
- Version:
- $Revision:
- Author:
- Dave Jurgens
, James Brodman
|
Method Summary |
void |
addInputChannel(connect.ConsumerChannel channel)
|
Object |
dequeue(connect.ConsumerChannel c)
|
util.ReturnValue |
dequeue(connect.ConsumerChannel c,
int requestID)
|
boolean |
isChannelActive(connect.ConsumerChannel c)
Returns true if the channel is still being actively read from. |
void |
stopChannel(connect.ConsumerChannel c)
Stops the specified channel. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
map
private HashMap map
MultiInputConsumerQueue
public MultiInputConsumerQueue()
addInputChannel
public void addInputChannel(connect.ConsumerChannel channel)
dequeue
public util.ReturnValue dequeue(connect.ConsumerChannel c,
int requestID)
dequeue
public Object dequeue(connect.ConsumerChannel c)
isChannelActive
public boolean isChannelActive(connect.ConsumerChannel c)
- Returns true if the channel is still being actively read from.
stopChannel
public void stopChannel(connect.ConsumerChannel c)
- Stops the specified channel.
To submit a bug or feature email the author of that class. Funding for this research was provided by Boeing and DARPA.