public class IpAddressListElement extends Object
| Modifier | Constructor and Description |
|---|---|
|
IpAddressListElement(int type,
InetAddress addr1,
InetAddress addr2)
Create new element
|
protected |
IpAddressListElement(org.netxms.base.NXCPMessage msg,
long baseId)
Create element from NXCP message
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
InetAddress |
getAddr1()
Get first address (subnet base address or range start)
|
InetAddress |
getAddr2()
Get second address (subnet mask or range last address)
|
int |
getType() |
int |
hashCode() |
String |
toString() |
public static final int SUBNET
public static final int RANGE
public IpAddressListElement(int type,
InetAddress addr1,
InetAddress addr2)
type - addr1 - addr2 - protected IpAddressListElement(org.netxms.base.NXCPMessage msg,
long baseId)
msg - NXCP messagebaseId - base variable IDpublic int getType()
public InetAddress getAddr1()
public InetAddress getAddr2()
Copyright © 2014. All rights reserved.