Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.remoting.transport.async
Interface ChannelListner

public interface ChannelListner

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

Author:
  Hiram Chirino

Method Summary
`void` | `closeEvent()` The remote end closed the connection.
`void` | `receiveEvent(byte[] data)` Sends an asynch packet of data down the channel.

Method Detail

### receiveEvent

    public void receiveEvent(byte[] data)
                      throws InterruptedException

  Sends an asynch packet of data down the channel. It does not wait wait for a response if possible.

  Throws:
    `InterruptedException`

### closeEvent

    public void closeEvent()

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

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2002 JBoss Group, LLC. All Rights Reserved.