Package com.perforce.p4java.server
Class ZeroconfHelper
java.lang.Object
com.perforce.p4java.server.ZeroconfHelper
Deprecated.
As of release 2013.1, ZeroConf is no longer supported by the
Perforce server 2013.1.
Class designed to help the server factory with zeroconf-based duties.
Not intended for direct use by end-users; uses the JmDNS zeroconf package
if it's available through the class loader. See the comments attached to
ServerFactory.getZeroconfServers for a fuller explanation.
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDeprecated.We don't want this usable outside the main P4Java server package. -
Method Summary
Modifier and TypeMethodDescriptionprotected List<ZeroconfServerInfo>Deprecated.protected booleanDeprecated.Returns true if this instance of P4Java has a suitable zeroconf implementation available to it.
-
Field Details
-
ZEROCONF_CLASS_NAME
Deprecated.The name of the class we first try to find for zeroconf services.- See Also:
-
P4D_ZEROCONF_TYPE
Deprecated.The zeroconf type string normally used to register Perforce servers.
-
-
Constructor Details
-
ZeroconfHelper
protected ZeroconfHelper()Deprecated.We don't want this usable outside the main P4Java server package.
-
-
Method Details
-
isZeroConfAvailable
protected boolean isZeroConfAvailable()Deprecated.Returns true if this instance of P4Java has a suitable zeroconf implementation available to it. Should probably be used at least once before calling the getZeroConfServers method to avoid unnecessary overhead.- Returns:
- true iff zeroconf services are available to the server factory.
-
getZeroconfServers
Deprecated.- Throws:
ConfigException
-