| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface IPRange
An IP range.
| Method Summary | |
|---|---|
 boolean | 
contains(Machine machine)
Checks if this IP range contains a certain machine.  | 
 java.net.InetAddress | 
getNetworkAddress()
Returns the network address.  | 
 java.net.InetAddress | 
getSubnetMask()
Returns the subnet mask.  | 
 void | 
setNetworkAddress(byte[] address)
Sets the network address.  | 
 void | 
setNetworkAddress(java.lang.String address)
Sets the network address.  | 
 void | 
setSubnetMask(byte[] mask)
Sets the subnet mask.  | 
 void | 
setSubnetMask(java.lang.String mask)
Sets the subnet mask.  | 
| Methods inherited from interface org.apache.lenya.ac.Accreditable | 
|---|
getAccreditables | 
| Methods inherited from interface org.apache.lenya.ac.Item | 
|---|
configure, getDescription, getId, getName, setConfigurationDirectory, setDescription, setName | 
| Methods inherited from interface org.apache.lenya.ac.Groupable | 
|---|
addedToGroup, getGroups, removedFromGroup, removeFromAllGroups | 
| Method Detail | 
|---|
void setNetworkAddress(java.lang.String address)
                       throws AccessControlException
address - A string, e.g. 192.168.0.32
AccessControlException - when the conversion of the String to an
 InetAddress failed.
void setNetworkAddress(byte[] address)
                       throws AccessControlException
address - A byte array of the length 4.
AccessControlException - when the conversion of the byte array to an
 InetAddress failed.java.net.InetAddress getNetworkAddress()
void setSubnetMask(java.lang.String mask)
                   throws AccessControlException
mask - A string, e.g. 192.168.0.32
AccessControlException - when the conversion of the String to an
 InetAddress failed.
void setSubnetMask(byte[] mask)
                   throws AccessControlException
mask - A byte array of the length 4.
AccessControlException - when the conversion of the byte array to an
 InetAddress failed.java.net.InetAddress getSubnetMask()
boolean contains(Machine machine)
machine - The machine to check for.
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||