|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.perforce.p4java.server.ZeroconfServerInfo
@Deprecated public class ZeroconfServerInfo
Defines the information zeroconf gives us about Perforce servers registered with and locally-visible to zeroconf (assuming zeroconf is available and loaded with P4Java). See ServerFactory.getZeroconfServers and associated methods for a full explanation of Perforce zeroconf usage.
Most of the fields defined below should be self-explanatory, but note that any or all of them may be null, and the semantics and format of the description and version strings are not defined here at all (but the version string is usually in the standard Perforce format if this ZeroconfServerInfo object was cobbled together from a valid zerconf registration).
Field Summary | |
---|---|
static int |
P4D_ZEROCONF_NOPORT
Deprecated. The port number used to indicate that the port has not been validly set anywhere. |
Constructor Summary | |
---|---|
ZeroconfServerInfo()
Deprecated. Default constructor -- sets all fields to null except port, which is set to P4D_ZEROCONF_NOPORT. |
|
ZeroconfServerInfo(String name,
String type,
String description,
String version,
String hostAddress,
String hostName,
int port)
Deprecated. Explicit-value constructor. |
Method Summary | |
---|---|
String |
getDescription()
Deprecated. |
String |
getHostAddress()
Deprecated. |
String |
getHostName()
Deprecated. |
String |
getName()
Deprecated. |
int |
getPort()
Deprecated. |
String |
getType()
Deprecated. |
String |
getVersion()
Deprecated. |
void |
setDescription(String description)
Deprecated. |
void |
setHostAddress(String hostAddress)
Deprecated. |
void |
setHostName(String hostName)
Deprecated. |
void |
setName(String name)
Deprecated. |
void |
setPort(int port)
Deprecated. |
void |
setType(String type)
Deprecated. |
void |
setVersion(String version)
Deprecated. |
String |
toString()
Deprecated. Construct a nice string representation, with the server's address presented as a P4Java URI. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static int P4D_ZEROCONF_NOPORT
Constructor Detail |
---|
public ZeroconfServerInfo()
public ZeroconfServerInfo(String name, String type, String description, String version, String hostAddress, String hostName, int port)
Method Detail |
---|
public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public String getHostAddress()
public void setHostAddress(String hostAddress)
public int getPort()
public void setPort(int port)
public String getDescription()
public void setDescription(String description)
public String getVersion()
public void setVersion(String version)
public String toString()
toString
in class Object
public String getHostName()
public void setHostName(String hostName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |