KickJava   Java API By Example, From Geeks To Geeks.

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


1 package org.jgroups.jmx.protocols;
2
3 import org.jgroups.jmx.Protocol;
4
5 /**
6  * @author Bela Ban
7  * @version $Id: PING.java,v 1.2 2005/06/14 09:51:08 belaban Exp $
8  */

9 public class PING extends Discovery implements PINGMBean {
10
11     public PING() {
12     }
13
14     public PING(org.jgroups.stack.Protocol p) {
15         super(p);
16         this.p=(org.jgroups.protocols.PING)p;
17     }
18
19     public void attachProtocol(org.jgroups.stack.Protocol p) {
20         super.attachProtocol(p);
21         this.p=(org.jgroups.protocols.PING)p;
22     }
23 }
24
Popular Tags