KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > maverick > multiplex > ChannelListener


1 package com.maverick.multiplex;
2
3 /**
4  * <p>Title: </p>
5  *
6  * <p>Description: </p>
7  *
8  * <p>Copyright: Copyright (c) 2004</p>
9  *
10  * <p>Company: </p>
11  *
12  * @author not attributable
13  */

14 public interface ChannelListener {
15
16     public void onChannelOpen(Channel channel);
17
18     public void onChannelData(Channel channel, byte[] buf, int off, int len);
19     
20     public void onChannelClose(Channel channel);
21
22 }
23
Popular Tags