Apply formatting

This commit is contained in:
Edward Capriolo
2015-01-17 18:21:57 -05:00
parent 4506fe4a79
commit 17f1ad6f4f
14 changed files with 811 additions and 725 deletions

View File

@ -1,28 +1,36 @@
package com.google.code.gossip;
/**
* The object represents a gossip member with the properties as received from a remote gossip member.
* The object represents a gossip member with the properties as received from a remote gossip
* member.
*
* @author harmenw
*/
public class RemoteGossipMember extends GossipMember {
/**
* Constructor.
* @param host The hostname or IP address.
* @param port The port number.
* @param heartbeat The current heartbeat.
*/
public RemoteGossipMember(String hostname, int port, String id, int heartbeat) {
super(hostname, port, id, heartbeat);
}
/**
* Construct a RemoteGossipMember with a heartbeat of 0.
* @param host The hostname or IP address.
* @param port The port number.
*/
public RemoteGossipMember(String hostname, int port, String id) {
super(hostname, port, id, 0);
}
/**
* Constructor.
*
* @param host
* The hostname or IP address.
* @param port
* The port number.
* @param heartbeat
* The current heartbeat.
*/
public RemoteGossipMember(String hostname, int port, String id, int heartbeat) {
super(hostname, port, id, heartbeat);
}
/**
* Construct a RemoteGossipMember with a heartbeat of 0.
*
* @param host
* The hostname or IP address.
* @param port
* The port number.
*/
public RemoteGossipMember(String hostname, int port, String id) {
super(hostname, port, id, 0);
}
}