org.apache.catalina.cluster.io
Interface ListenCallback

All Known Subinterfaces:
CatalinaCluster
All Known Implementing Classes:
SimpleTcpCluster

public interface ListenCallback

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.

Version:
$Revision: 1.2 $, $Date: 2004/02/27 14:58:55 $
Author:
Filip Hanik

Method Summary
 void messageDataReceived(byte[] data)
          This method is invoked on the callback object to notify it that new data has been received from one of the cluster nodes.
 

Method Detail

messageDataReceived

public void messageDataReceived(byte[] data)
This method is invoked on the callback object to notify it that new data has been received from one of the cluster nodes.

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


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.