uk.ac.man.cs.rainbow.simulator
Class Channel.Adapter
java.lang.Object
|
+--uk.ac.man.cs.rainbow.simulator.Channel.Adapter
- All Implemented Interfaces:
- Channel.Listener
- Enclosing class:
- Channel
- public abstract class Channel.Adapter
- extends Object
- implements Channel.Listener
Null implementation of a channel listener.
Method Summary |
void |
acknowledge()
Called when an acknowledgement on a channel happens. |
void |
request()
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 |
Channel.Adapter
public Channel.Adapter()
request
public void request()
- Description copied from interface:
Channel.Listener
- Called when a request on a channel happens.
- Specified by:
request
in interface Channel.Listener
acknowledge
public void acknowledge()
- Description copied from interface:
Channel.Listener
- Called when an acknowledgement on a channel happens.
- Specified by:
acknowledge
in interface Channel.Listener