groovyx.gpars.dataflow
Interface DataflowChannelListener<T>


public interface DataflowChannelListener<T>

Gets notified about state changes inside DataflowReadChannels

Author:
Vaclav Pech

Method Summary
 void onMessage(T message)
          Notifies about messages passed through the channel
 

Method Detail

onMessage

void onMessage(T message)
Notifies about messages passed through the channel

Parameters:
message - The value just added to the channel

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