Package | Description |
---|---|
com.perforce.p4java.impl.mapbased.rpc | |
com.perforce.p4java.impl.mapbased.server | |
com.perforce.p4java.impl.mapbased.server.cmd | |
com.perforce.p4java.server |
Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services.
|
com.perforce.p4java.server.delegator |
Modifier and Type | Method and Description |
---|---|
void |
RpcServer.connect()
Try to establish an actual RPC connection to the target Perforce server.
|
void |
NtsServerImpl.connect()
Try to establish an actual RPC connection to the target Perforce server.
|
void |
OneShotServerImpl.connect() |
ServerStatus |
RpcServer.init(java.lang.String host,
int port,
java.util.Properties props)
The default init sets up things like host names, etc., and fails if we
can't establish some pretty basic things at connect time.
|
ServerStatus |
NtsServerImpl.init(java.lang.String host,
int port,
java.util.Properties props)
Shorthand for the options-based init() above, but with a null opts arg.
|
ServerStatus |
OneShotServerImpl.init(java.lang.String host,
int port,
java.util.Properties props)
Shorthand for the options-based init() above, but with a null opts arg.
|
ServerStatus |
RpcServer.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts) |
ServerStatus |
NtsServerImpl.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts)
Shorthand for the options-based init() above, but with a fasle secure arg.
|
ServerStatus |
OneShotServerImpl.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts)
Shorthand for the options-based init() above, but with a false secure arg.
|
ServerStatus |
RpcServer.init(java.lang.String host,
int port,
java.util.Properties properties,
UsageOptions opts,
boolean secure) |
ServerStatus |
NtsServerImpl.init(java.lang.String host,
int port,
java.util.Properties properties,
UsageOptions opts,
boolean secure)
Shorthand for the options-based init() above, but with a fasle secure arg.
|
ServerStatus |
NtsServerImpl.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts,
boolean secure,
java.lang.String rsh)
Initialize the server.
|
ServerStatus |
OneShotServerImpl.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts,
boolean secure,
java.lang.String rsh)
Initialize the server.
|
void |
RpcServer.saveFingerprint(java.lang.String serverIpPort,
java.lang.String fingerprintUser,
java.lang.String fingerprintValue)
Save specified fingerprint value as associate with this server's address.
|
void |
RpcServer.saveTicket(java.lang.String ticketValue)
Save specified auth ticket value as associate with this server's address
and configured user returned from
Server.getUserName() . |
void |
RpcServer.saveTicket(java.lang.String userName,
java.lang.String ticketValue)
Save specified auth ticket value as associate with this server's address
and user name from the userName parameter.
|
Modifier and Type | Method and Description |
---|---|
void |
Server.connect() |
ServerStatus |
IServerControl.init(java.lang.String host,
int port,
java.util.Properties props)
Convenience method for init(host, port, props, null).
|
ServerStatus |
Server.init(java.lang.String host,
int port,
java.util.Properties props) |
ServerStatus |
IServerControl.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts)
Convenience method for init(host, port, props, opts, secure).
|
ServerStatus |
Server.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts) |
ServerStatus |
IServerControl.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts,
boolean secure)
Convenience method for init(host, port, props, opts, secure, null).
|
ServerStatus |
Server.init(java.lang.String host,
int port,
java.util.Properties properties,
UsageOptions opts,
boolean secure) |
ServerStatus |
IServerControl.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts,
boolean secure,
java.lang.String rsh)
Initialize the server.
|
ServerStatus |
Server.init(java.lang.String host,
int port,
java.util.Properties props,
UsageOptions opts,
boolean secure,
java.lang.String rsh) |
void |
Server.login(java.lang.String password) |
void |
Server.login(java.lang.String password,
boolean allHosts) |
void |
Server.logout() |
Modifier and Type | Method and Description |
---|---|
void |
LoginDelegator.login(java.lang.String password) |
void |
LoginDelegator.login(java.lang.String password,
boolean allHosts) |
void |
LogoutDelegator.logout() |
Modifier and Type | Method and Description |
---|---|
void |
IServer.connect()
Connect to the Perforce server associated with this server object.
|
static IOptionsServer |
ServerFactory.getOptionsServer(java.lang.String serverUriString,
java.util.Properties props)
Return an IOptionsServer onto an underlying Perforce server at the host
address specified by serverUriString using the protocol implementation and
passed-in properties and a default UsageOptions object.
|
static IOptionsServer |
ServerFactory.getOptionsServer(java.lang.String serverUriString,
java.util.Properties props,
UsageOptions opts)
Return an IOptionsServer interface onto an underlying Perforce server at the host
address specified by serverUriString using the protocol implementation and
passed-in properties and usage options.
|
static IServer |
ServerFactory.getServer(java.lang.String serverUriString,
java.util.Properties props)
Return an IServer interface onto an underlying Perforce server at the host
address specified by serverUriString using the protocol implementation and
passed-in properties.
|
static IServer |
ServerFactory.getServer(java.net.URI serverUrl,
java.util.Properties props)
Deprecated.
as of the 2009.2 release, use the getServer(String, Properties) method
due to that Java's URI class does not accept hostnames with anything
other than alphanumeric characters: even common hostnames like
"perforce_p" will fail, often silently.
|
static java.util.List<ZeroconfServerInfo> |
ServerFactory.getZeroconfServers()
Deprecated.
As of release 2013.1, ZeroConf is no longer supported by the
Perforce server 2013.1.
|
protected java.util.List<ZeroconfServerInfo> |
ZeroconfHelper.getZeroconfServers()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ILoginDelegator.login(java.lang.String password)
Convenience method for login(password, false).
|
void |
ILoginDelegator.login(java.lang.String password,
boolean allHosts)
Log the current user (if any) in to a Perforce server, optionally
arranging to be logged in for all hosts.
|
void |
ILogoutDelegator.logout()
Log the current Perforce user out of a Perforce server session.
|
Copyright © 2018 Perforce Software. All Rights Reserved.