org.codehaus.gpars

groovyx.gpars.dataflow.impl
[Java] Class DataflowChannelEventOrchestrator

java.lang.Object
  groovyx.gpars.dataflow.impl.DataflowChannelEventOrchestrator
All Implemented Interfaces:
DataflowChannelEventDistibutor, DataflowChannelEventListenerManager

public final class DataflowChannelEventOrchestrator

Groups the listener-related functionality shared by dataflow channels

Authors:
Vaclav Pech


Field Summary
private java.util.Collection listeners

 
Constructor Summary
DataflowChannelEventOrchestrator()

 
Method Summary
void addAllDataflowChannelListeners(java.util.Collection listeners)

void addDataflowChannelListener(DataflowChannelListener listener)

void fireOnMessage(java.lang.Object message)

java.util.Collection getListeners()

void removeDataflowChannelListener(DataflowChannelListener listener)

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

listeners

private final java.util.Collection listeners


 
Constructor Detail

DataflowChannelEventOrchestrator

DataflowChannelEventOrchestrator()


 
Method Detail

addAllDataflowChannelListeners

@Override
public void addAllDataflowChannelListeners(java.util.Collection listeners)


addDataflowChannelListener

@Override
public void addDataflowChannelListener(DataflowChannelListener listener)


fireOnMessage

@Override
public void fireOnMessage(java.lang.Object message)


getListeners

@SuppressWarnings("ReturnOfCollectionOrArrayField")
@Override
public java.util.Collection getListeners()


removeDataflowChannelListener

@Override
public void removeDataflowChannelListener(DataflowChannelListener listener)


 

Copyright © 2008–2012 Václav Pech. All Rights Reserved.