ListenCallback.javaAPI DocApache Tomcat 6.0.141682Fri Jul 20 04:20:34 BST


public interface ListenCallback
Internal interface, similar to the MessageListener but used at the IO base The listen callback interface is used by the replication system when data has been received. The interface does not care about objects and marshalling and just passes the bytes straight through.
Filip Hanik
$Revision: 467173 $, $Date: 2006-10-24 01:12:17 +0200 (mar., 24 oct. 2006) $

Fields Summary
Constructors Summary
Methods Summary
public voidmessageDataReceived(org.apache.catalina.tribes.ChannelMessage data)
This method is invoked on the callback object to notify it that new data has been received from one of the cluster nodes.

data - the message bytes received from the cluster/replication system