uk.ac.man.cs.rainbow.rapa.data
Class Channel.Adapter

java.lang.Object
  |
  +--uk.ac.man.cs.rainbow.rapa.data.Channel.Adapter
All Implemented Interfaces:
Channel.Listener
Enclosing class:
Channel

public abstract static class Channel.Adapter
extends Object
implements Channel.Listener

Null implementation of a channel listener.


Constructor Summary
Channel.Adapter()
           
 
Method Summary
 void blocked(Channel chan, Value val)
          Called when an acknowledgement on a channel happens.
 void transfer(Channel chan, Value val)
          Called when a request on a channel happens.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Channel.Adapter

public Channel.Adapter()
Method Detail

transfer

public void transfer(Channel chan,
                     Value val)
Description copied from interface: Channel.Listener
Called when a request on a channel happens.
Specified by:
transfer in interface Channel.Listener

blocked

public void blocked(Channel chan,
                    Value val)
Description copied from interface: Channel.Listener
Called when an acknowledgement on a channel happens.
Specified by:
blocked in interface Channel.Listener