KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jgroups > jmx > protocols > UDP


1 package org.jgroups.jmx.protocols;
2
3 import org.jgroups.stack.Protocol;
4
5 /**
6  * @author Bela Ban
7  * @version $Id: UDP.java,v 1.3 2005/08/17 07:32:29 belaban Exp $
8  */

9 public class UDP extends org.jgroups.jmx.protocols.TP implements UDPMBean {
10     org.jgroups.protocols.UDP udp;
11
12     public UDP() {
13     }
14
15     public UDP(Protocol p) {
16         super(p);
17         udp=(org.jgroups.protocols.UDP)p;
18     }
19
20     public void attachProtocol(Protocol p) {
21         super.attachProtocol(p);
22         udp=(org.jgroups.protocols.UDP)p;
23     }
24 }
25
Popular Tags