Initial code merge

This commit is contained in:
Edward Capriolo
2015-01-09 11:33:54 -05:00
parent 712ec097bb
commit 4edc7738ec
29 changed files with 6479 additions and 0 deletions

View File

@ -0,0 +1,28 @@
package com.google.code.gossip;
/**
* 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, int heartbeat) {
super(hostname, port, 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) {
super(hostname, port, 0);
}
}