Package | Description |
---|---|
com.perforce.p4java.impl.mapbased.rpc | |
com.perforce.p4java.impl.mapbased.server | |
com.perforce.p4java.option |
Provides a series of classes that implement P4Java-wide server, client, and other class method
options definitions and processing.
|
com.perforce.p4java.server |
Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services.
|
Modifier and Type | Method and Description |
---|---|
ServerStatus |
RpcServer.init(String host,
int port,
Properties props,
UsageOptions opts) |
ServerStatus |
NtsServerImpl.init(String host,
int port,
Properties props,
UsageOptions opts)
Shorthand for the options-based init() above, but with a fasle secure arg.
|
ServerStatus |
OneShotServerImpl.init(String host,
int port,
Properties props,
UsageOptions opts)
Shorthand for the options-based init() above, but with a false secure arg.
|
ServerStatus |
RpcServer.init(String host,
int port,
Properties properties,
UsageOptions opts,
boolean secure) |
ServerStatus |
NtsServerImpl.init(String host,
int port,
Properties properties,
UsageOptions opts,
boolean secure)
Shorthand for the options-based init() above, but with a fasle secure arg.
|
ServerStatus |
NtsServerImpl.init(String host,
int port,
Properties props,
UsageOptions opts,
boolean secure,
String rsh)
Initialize the server.
|
ServerStatus |
OneShotServerImpl.init(String host,
int port,
Properties props,
UsageOptions opts,
boolean secure,
String rsh)
Initialize the server.
|
Modifier and Type | Field and Description |
---|---|
protected UsageOptions |
Server.usageOptions |
Modifier and Type | Method and Description |
---|---|
UsageOptions |
Server.getUsageOptions() |
Modifier and Type | Method and Description |
---|---|
ServerStatus |
IServerControl.init(String host,
int port,
Properties props,
UsageOptions opts)
Convenience method for init(host, port, props, opts, secure).
|
ServerStatus |
Server.init(String host,
int port,
Properties props,
UsageOptions opts) |
ServerStatus |
IServerControl.init(String host,
int port,
Properties props,
UsageOptions opts,
boolean secure)
Convenience method for init(host, port, props, opts, secure, null).
|
ServerStatus |
Server.init(String host,
int port,
Properties properties,
UsageOptions opts,
boolean secure) |
ServerStatus |
IServerControl.init(String host,
int port,
Properties props,
UsageOptions opts,
boolean secure,
String rsh)
Initialize the server.
|
ServerStatus |
Server.init(String host,
int port,
Properties props,
UsageOptions opts,
boolean secure,
String rsh) |
Server |
Server.setUsageOptions(UsageOptions usageOptions) |
Modifier and Type | Method and Description |
---|---|
UsageOptions |
UsageOptions.setHostName(String hostName)
Set the host name.
|
UsageOptions |
UsageOptions.setProgramName(String programName) |
UsageOptions |
UsageOptions.setProgramVersion(String programVersion) |
UsageOptions |
UsageOptions.setProps(Properties props) |
UsageOptions |
UsageOptions.setTextLanguage(String textLanguage) |
UsageOptions |
UsageOptions.setUnsetClientName(String unsetClientName) |
UsageOptions |
UsageOptions.setUnsetUserName(String unsetUserName) |
UsageOptions |
UsageOptions.setWorkingDirectory(String workingDirectory) |
Modifier and Type | Method and Description |
---|---|
UsageOptions |
IOptionsServer.getUsageOptions()
Get the UsageOptions object associated with this server.
|
Modifier and Type | Method and Description |
---|---|
static IOptionsServer |
ServerFactory.getOptionsServer(String serverUriString,
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.
|
IOptionsServer |
IOptionsServer.setUsageOptions(UsageOptions opts)
Set the UsageOptions object associated with this server.
|
Copyright © 2017 Perforce Software. All Rights Reserved.