Interface ILogoutDelegator
-
- All Known Subinterfaces:
IOptionsServer
,IServer
,IStreamingServer
- All Known Implementing Classes:
LogoutDelegator
,NtsServerImpl
,OneShotServerImpl
,RpcServer
,Server
public interface ILogoutDelegator
Inteface for 'p4 logout'.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
logout
void logout() throws ConnectionException, RequestException, AccessException, ConfigException
Log the current Perforce user out of a Perforce server session.- 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
void logout(LoginOptions opts) throws P4JavaException
Log the current Perforce user out of a Perforce server session.- Parameters:
opts
- currently ignored; can be null.- Throws:
P4JavaException
- if any error occurs in the processing of this method.
-
-