KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > transport > channel > AddChannelCommand


1
2 package transport.channel;
3 import java.nio.channels.SocketChannel JavaDoc;
4
5 /**
6  *
7  */

8 public class AddChannelCommand
9 {
10     private SocketChannel JavaDoc channel;
11     
12     public AddChannelCommand(SocketChannel JavaDoc ch)
13     {
14         super();
15         channel = ch;
16     }
17
18     public SocketChannel JavaDoc getChannel()
19     {
20         return channel;
21     }
22 }
23
Popular Tags