|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.starteam.IPRange
public final class 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,
Server.EncryptionAlgorithm required)
Creates a new IP range/required encryption level. |
|
| Method Summary | |
|---|---|
IPRange |
copy()
return a copy of this IPRange instance |
Server.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. |
boolean |
isEqualTo(IPRange other)
returns true if the Object passed in is a IPRange instance, with the same set of values as this IPRange instance |
void |
setAlgorithm(Server.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()
returns a string representation of this range |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IPRange(java.lang.String min,
java.lang.String max,
Server.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 encryption level for the specified rangepublic IPRange(IPRange source)
source - IPRange the IPRange to copy| Method Detail |
|---|
public IPRange copy()
public boolean isEqualTo(IPRange other)
other - Object another instance of a IPRange object
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 Server.EncryptionAlgorithm getAlgorithm()
public void setAlgorithm(Server.EncryptionAlgorithm algorithm)
algorithm - the minimum required encryption algorithmpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||