1 package org.jgroups.jmx.protocols; 2 3 import org.jgroups.jmx.Protocol; 4 5 9 public class FD_SOCK extends Protocol implements FD_SOCKMBean { 10 org.jgroups.protocols.FD_SOCK p; 11 12 public FD_SOCK() { 13 } 14 15 public FD_SOCK(org.jgroups.stack.Protocol p) { 16 super(p); 17 this.p=(org.jgroups.protocols.FD_SOCK)p; 18 } 19 20 public void attachProtocol(org.jgroups.stack.Protocol p) { 21 super.attachProtocol(p); 22 this.p=(org.jgroups.protocols.FD_SOCK)p; 23 } 24 25 26 public String getLocalAddress() { 27 return p.getLocalAddress(); 28 } 29 30 public String getMembers() { 31 return p.getMembers(); 32 } 33 34 public String getPingableMembers() { 35 return p.getPingableMembers(); 36 } 37 38 public String getPingDest() { 39 return p.getPingDest(); 40 } 41 42 public int getNumSuspectEventsGenerated() { 43 return p.getNumSuspectEventsGenerated(); 44 } 45 46 public String printSuspectHistory() { 47 return p.printSuspectHistory(); 48 } 49 } 50 | Popular Tags |