public class LogoutDelegator extends BaseDelegator implements ILogoutDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION| Constructor and Description |
|---|
LogoutDelegator(IOptionsServer server)
Instantiates a new logout delegator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
logout()
Log the current Perforce user out of a Perforce server session.
|
void |
logout(LoginOptions opts)
Log the current Perforce user out of a Perforce server session.
|
public LogoutDelegator(IOptionsServer server)
server - the serverpublic void logout()
throws ConnectionException,
RequestException,
AccessException,
ConfigException
ILogoutDelegatorlogout in interface ILogoutDelegatorConnectionException - if the Perforce server is unreachable or is not connected.RequestException - if the Perforce server encounters an error during its
processing of the requestAccessException - if the Perforce server denies access to the callerConfigException - if the p4tickets file could not be updated successfullypublic void logout(LoginOptions opts) throws P4JavaException
ILogoutDelegatorlogout in interface ILogoutDelegatoropts - currently ignored; can be null.P4JavaException - if any error occurs in the processing of this method.Copyright © 2017 Perforce Software. All Rights Reserved.