Add id field

This commit is contained in:
Edward Capriolo
2015-01-12 09:35:22 -05:00
parent d2ad190b93
commit 4245908b38
11 changed files with 46 additions and 33 deletions

View File

@ -13,8 +13,8 @@ public class RemoteGossipMember extends GossipMember {
* @param port The port number.
* @param heartbeat The current heartbeat.
*/
public RemoteGossipMember(String hostname, int port, int heartbeat) {
super(hostname, port, heartbeat);
public RemoteGossipMember(String hostname, int port, String id, int heartbeat) {
super(hostname, port, id, heartbeat);
}
/**
@ -22,7 +22,7 @@ public class RemoteGossipMember extends GossipMember {
* @param host The hostname or IP address.
* @param port The port number.
*/
public RemoteGossipMember(String hostname, int port) {
super(hostname, port, 0);
public RemoteGossipMember(String hostname, int port, String id) {
super(hostname, port, id, 0);
}
}