Class LogoutDelegator
java.lang.Object
com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
com.perforce.p4java.impl.mapbased.server.cmd.LogoutDelegator
- All Implemented Interfaces:
ILogoutDelegator
Handles the 'p4 logout' command.
-
Field Summary
Fields inherited from class com.perforce.p4java.impl.mapbased.server.cmd.BaseDelegator
MAX_LIMIT_SUPPORTED_MIN_VERSION, QUERY_EXPRESSIONS_SUPPORTED_MIN_VERSION, USER_RESTRICTIONS_SUPPORTED_MIN_VERSION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlogout()Log the current Perforce user out of a Perforce server session.voidlogout(LoginOptions opts) Log the current Perforce user out of a Perforce server session.
-
Constructor Details
-
LogoutDelegator
Instantiates a new logout delegator.- Parameters:
server- the server
-
-
Method Details
-
logout
Description copied from interface:ILogoutDelegatorLog the current Perforce user out of a Perforce server session.- Specified by:
logoutin interfaceILogoutDelegator- Throws:
ConnectionException- 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 successfully
-
logout
Description copied from interface:ILogoutDelegatorLog the current Perforce user out of a Perforce server session.- Specified by:
logoutin interfaceILogoutDelegator- Parameters:
opts- currently ignored; can be null.- Throws:
P4JavaException- if any error occurs in the processing of this method.
-