public class ClusterSyncNetwork extends Object
| Constructor and Description |
|---|
ClusterSyncNetwork(ClusterSyncNetwork src)
Copy constructor
|
ClusterSyncNetwork(InetAddress subnetAddress,
InetAddress subnetMask)
Create cluster sync network object
|
| Modifier and Type | Method and Description |
|---|---|
InetAddress |
getSubnetAddress() |
InetAddress |
getSubnetMask() |
void |
setSubnetAddress(InetAddress subnetAddress) |
void |
setSubnetMask(InetAddress subnetMask) |
public ClusterSyncNetwork(InetAddress subnetAddress, InetAddress subnetMask)
subnetAddress - Subnet addresssubnetMask - Subnet maskpublic ClusterSyncNetwork(ClusterSyncNetwork src)
src - source objectpublic InetAddress getSubnetAddress()
public InetAddress getSubnetMask()
public void setSubnetAddress(InetAddress subnetAddress)
subnetAddress - the subnetAddress to setpublic void setSubnetMask(InetAddress subnetMask)
subnetMask - the subnetMask to setCopyright © 2015. All rights reserved.