org.apache.geronimo.remoting.transport.async
Interface ChannelListner


public interface ChannelListner

This interface should be implemented by objects that wants to receive Channel events.

Version:
$Revision: 1.3 $ $Date: 2004/03/10 09:59:20 $

Method Summary
 void closeEvent()
          The remote end closed the connection.
 void receiveEvent(AsyncMsg data)
          Sends an asynch packet of data down the channel.
 

Method Detail

receiveEvent

public void receiveEvent(AsyncMsg data)
Sends an asynch packet of data down the channel. It does not wait wait for a response if possible.


closeEvent

public void closeEvent()
The remote end closed the connection. The receiver of this event should close() the channel.



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