01: package org.jgroups.jmx.protocols;
02:
03: import org.jgroups.stack.Protocol;
04:
05: /**
06: * @author Bela Ban
07: * @version $Id: UDP.java,v 1.3 2005/08/17 07:32:29 belaban Exp $
08: */
09: public class UDP extends org.jgroups.jmx.protocols.TP implements
10: UDPMBean {
11: org.jgroups.protocols.UDP udp;
12:
13: public UDP() {
14: }
15:
16: public UDP(Protocol p) {
17: super (p);
18: udp = (org.jgroups.protocols.UDP) p;
19: }
20:
21: public void attachProtocol(Protocol p) {
22: super .attachProtocol(p);
23: udp = (org.jgroups.protocols.UDP) p;
24: }
25: }
|