public class SystemConfigReq extends Object implements Addressable<IpAddress>
| Constructor and Description |
|---|
SystemConfigReq() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
IpAddress |
getAddress()
Gets the address.
|
String |
getName()
Gets the system name.
|
String |
getNetDev()
Gets the network device.
|
int |
getPriority()
Gets the system priority, with respect to leader election.
|
int |
hashCode() |
void |
setIpAddr(IpAddress ipAddr)
Sets the system IP address.
|
void |
setName(String name)
Sets the system name.
|
void |
setNetDev(String netDev)
Sets the network device.
|
void |
setPriority(int priority)
Sets the system priority, with respect to leader election.
|
String |
toString() |
public String getNetDev()
public void setNetDev(String netDev)
netDev - the network devicepublic String getName()
public void setName(String name)
name - the system namepublic void setIpAddr(IpAddress ipAddr)
ipAddr - the system IP addresspublic int getPriority()
public void setPriority(int priority)
priority - the system prioritypublic IpAddress getAddress()
AddressablegetAddress in interface Addressable<IpAddress>Copyright © 2014. All Rights Reserved.