|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServerControl
The minimal control interface all IServer impl classes must implement.
Method Summary | |
---|---|
ServerStatus |
init(String host,
int port,
Properties props)
Convenience method for init(host, port, props, null). |
ServerStatus |
init(String host,
int port,
Properties props,
UsageOptions opts)
Convenience method for init(host, port, props, opts, secure). |
ServerStatus |
init(String host,
int port,
Properties props,
UsageOptions opts,
boolean secure)
Convenience method for init(host, port, props, opts, secure, null). |
ServerStatus |
init(String host,
int port,
Properties props,
UsageOptions opts,
boolean secure,
String rsh)
Initialize the server. |
Method Detail |
---|
ServerStatus init(String host, int port, Properties props, UsageOptions opts, boolean secure, String rsh) throws ConfigException, ConnectionException
host
- the Perforce server hostname or IP address as passed in to the factory methodport
- the Perforce server port number as passed in to the factory methodprops
- the properties passed in to the factory methodopts
- the UsageOptions object to be associated with the server object; if null,
the server should construct a new default UsageOptions object.secure
- indicates whether the server is secure (SSL) or not.rsh
- the 'rsh' mode server launch command.
ConfigException
- if there's something wrong with the
specified configuration or associated config files, etc.
ConnectionException
- if the server is unreachable on initialization, and that
unreachability is serious and unrecoverable (there are implementations that don't
really do connections per se, so they may not consider this an error or even try
connecting during initialisation).ServerStatus init(String host, int port, Properties props, UsageOptions opts, boolean secure) throws ConfigException, ConnectionException
host
- the Perforce server hostname or IP address as passed in to the factory methodport
- the Perforce server port number as passed in to the factory methodprops
- the properties passed in to the factory methodopts
- the UsageOptions object to be associated with the server object; if null,
the server should construct a new default UsageOptions object.
ConfigException
- if there's something wrong with the
specified configuration or associated config files, etc.
ConnectionException
- if the server is unreachable on initialization, and that
unreachability is serious and unrecoverable (there are implementations that don't
really do connections per se, so they may not consider this an error or even try
connecting during initialisation).ServerStatus init(String host, int port, Properties props, UsageOptions opts) throws ConfigException, ConnectionException
host
- the Perforce server hostname or IP address as passed in to the factory methodport
- the Perforce server port number as passed in to the factory methodprops
- the properties passed in to the factory methodopts
- the UsageOptions object to be associated with the server object; if null,
the server should construct a new default UsageOptions object.
ConfigException
- if there's something wrong with the
specified configuration or associated config files, etc.
ConnectionException
- if the server is unreachable on initialization, and that
unreachability is serious and unrecoverable (there are implementations that don't
really do connections per se, so they may not consider this an error or even try
connecting during initialisation).ServerStatus init(String host, int port, Properties props) throws ConfigException, ConnectionException
host
- the Perforce server hostname or IP address as passed in to the factory methodport
- the Perforce server port number as passed in to the factory methodopts
- the UsageOptions object to be associated with the server object; if null,
the server should construct a new default UsageOptions object.
ConfigException
- if there's something wrong with the
specified configuration or associated config files, etc.
ConnectionException
- if the server is unreachable on initialization, and that
unreachability is serious and unrecoverable (there are implementations that don't
really do connections per se, so they may not consider this an error or even try
connecting during initialisation).
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |