class LocalPeerBean extends ServerBean implements LocalPeerMXBean {

    public String getClientAddress() {
        if (null != peer.cnxnFactory) {
            return String.format("%s:%d", peer.cnxnFactory.getLocalAddress()
                    .getHostString(), peer.getClientPort());
        } else {
            return "";
        }
    }

    public  LocalPeerBean(QuorumPeer peer);

}