|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.starbase.starteam.IPRange
This class represents a range of TCP/IP addresses and the required level of encryption for clients to connect to the StarTeam server.
| Constructor Summary | |
IPRange(IPRange source)
construct a new IPRange from the source |
|
IPRange(java.lang.String min,
java.lang.String max,
EncryptionAlgorithm required)
Creates a new IP range/required encryption level. |
|
| Method Summary | |
IPRange |
copy()
return a copy of this IPRange instance |
boolean |
equals(java.lang.Object source)
returns true if this object instance is equal to the source |
EncryptionAlgorithm |
getAlgorithm()
Returns the minimum required level of encryption for this range. |
java.lang.String |
getMaxIP()
Returns the maximum IP address for this range. |
java.lang.String |
getMinIP()
Returns the minimum IP address for this range. |
int |
hashCode()
returns a unique hash for all instances of this type |
boolean |
isEqualTo(IPRange source)
returns true if this object instance is equal to the source |
void |
setAlgorithm(EncryptionAlgorithm algorithm)
Sets the minimum required level of encryption for this range. |
void |
setMaxIP(java.lang.String ip)
Sets the maximum IP address for this range. |
void |
setMinIP(java.lang.String ip)
Sets the minimum IP address for this range. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public IPRange(java.lang.String min,
java.lang.String max,
EncryptionAlgorithm required)
min - the start of the IP range in the form "0.0.0.0"max - the end of the IP range in the form "0.0.0.0"required - the minimum required encrytpion level for the specified rangepublic IPRange(IPRange source)
source - IPRange the IPRange to copy| Method Detail |
public IPRange copy()
public java.lang.String getMinIP()
public void setMinIP(java.lang.String ip)
ip - the IP address for the minimum of this range.public java.lang.String getMaxIP()
public void setMaxIP(java.lang.String ip)
ip - the IP address for the maximum of this range.public EncryptionAlgorithm getAlgorithm()
public void setAlgorithm(EncryptionAlgorithm algorithm)
algorithm - the minimum required encryption algorithmpublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object source)
equals in class java.lang.Objectsource - Object the source to comapre with
public boolean isEqualTo(IPRange source)
source - Object the source to comapre with
public int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||