KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > transport > RemovePacketListenerCommand


1
2 package transport;
3 import transport.packet.PacketTypeEnum;
4 import jegg.impl.PortImpl;
5
6 /**
7  *
8  */

9 public class RemovePacketListenerCommand
10 {
11     private PacketTypeEnum type;
12     private PortImpl port;
13
14     public RemovePacketListenerCommand(PacketTypeEnum t, PortImpl p)
15     {
16         super();
17         type = t;
18         port = p;
19     }
20
21     public PacketTypeEnum getType()
22     {
23         return type;
24     }
25
26     public PortImpl getPort()
27     {
28         return port;
29     }
30 }
Popular Tags