Uses of Class
com.perforce.p4java.exception.ConnectionException

Packages that use ConnectionException
com.perforce.p4java.client Provides interfaces for accessing and manipulating Perforce client workspaces and associated objects. 
com.perforce.p4java.core Provides interfaces and classes for defining and accessing Perforce objects such as jobs, changelists, etc., and, through the file sub-package, Perforce files. 
com.perforce.p4java.core.file Provides interfaces and classes for defining and accessing Perforce depot and workspace files. 
com.perforce.p4java.exception Provides exception and error classes for signaling and handling user, internal, and Perforce server errors. 
com.perforce.p4java.impl.generic.core Provides standard implementation classes for the com.perforce.p4java.core interfaces. 
com.perforce.p4java.impl.generic.core.file Provides standard implementation classes for the com.perforce.p4java.core.file interfaces. 
com.perforce.p4java.impl.mapbased.client   
com.perforce.p4java.impl.mapbased.rpc   
com.perforce.p4java.impl.mapbased.rpc.connection   
com.perforce.p4java.impl.mapbased.rpc.func.client   
com.perforce.p4java.impl.mapbased.rpc.func.proto   
com.perforce.p4java.impl.mapbased.rpc.packet   
com.perforce.p4java.impl.mapbased.rpc.stream   
com.perforce.p4java.impl.mapbased.server   
com.perforce.p4java.server Provides interfaces and classes for accessing Perforce SCM servers and associated server-level services. 
 

Uses of ConnectionException in com.perforce.p4java.client
 

Methods in com.perforce.p4java.client that throw ConnectionException
 List<IFileSpec> IClient.addFiles(List<IFileSpec> fileSpecs, boolean noUpdate, int changeListId, String fileType, boolean useWildcards)
          Open one or more Perforce client workspace files for adding to the Perforce server.
 IChangelist IClient.createChangelist(IChangelist newChangelist)
          Create a new changelist for this Perforce client in the associated Perforce server.
 List<IFileSpec> IClient.deleteFiles(List<IFileSpec> fileSpecs, int changeListId, boolean noUpdate)
          Open Perforce client workspace files for deletion from a Perforce depot.
 List<IFileSpec> IClient.editFiles(List<IFileSpec> fileSpecs, boolean noUpdate, boolean bypassClientUpdate, int changeListId, String fileType)
          Open one or more Perforce client workspace files for editing.
 List<IFileSpec> IClient.getDiffFiles(List<IFileSpec> fileSpecs, int maxFiles, boolean diffNonTextFiles, boolean openedDifferentMissing, boolean openedForIntegrate, boolean unopenedMissing, boolean unopenedDifferent, boolean unopenedWithStatus, boolean openedSame)
          Return a list of files that differ in some (arbitrarily complex) way from depot.
 List<IFileSpec> IClient.haveList(List<IFileSpec> fileSpecs)
          Return a list of all Perforce-managed files and versions that the Perforce server believes this Perforce client workspace has as of the latest sync.
 List<IFileSpec> IClient.integrateFiles(int changeListId, boolean showActionsOnly, IntegrationOptions integOpts, String branchSpec, IFileSpec fromFile, IFileSpec toFile)
          Integrate ("merge") from one Perforce filespec to another.
 List<IFileSpec> IClient.labelSync(List<IFileSpec> fileSpecs, String labelName, boolean noUpdate, boolean addFiles, boolean deleteFiles)
          Perform a label sync operation for this client.
 List<IFileSpec> IClient.lockFiles(List<IFileSpec> fileSpecs, int changeListId)
          Lock an opened file against changelist submission.
 List<IFileSpec> IClient.openedFiles(List<IFileSpec> fileSpecs, int maxFiles, int changeListId)
          If one or more Perforce file specs is passed-in, return the opened / locked status of each file (if known) within an IFileSpec object; otherwise return a list of all files known to be open for this Perforce client workspace.
 List<IFileSpec> IClient.reopenFiles(List<IFileSpec> fileSpecs, int changeListId, String fileType)
          Reopen Perforce files in a new changelist.
 List<IFileSpec> IClient.resolvedFiles(List<IFileSpec> fileSpecs, boolean showBaseRevision)
          Return a list of files resolved but not submitted for this client.
 IFileSpec IClient.resolveFile(IFileSpec targetFile, InputStream sourceStream)
          Resolve a file integration by using the contents of the sourceStream InputStream as the resolve result.
 IFileSpec IClient.resolveFile(IFileSpec targetFile, InputStream sourceStream, boolean useTextualMerge, int startFromRev, int endFromRev)
          Resolve a file integration by using the contents of the sourceStream InputStream as the resolve result.
 List<IFileSpec> IClient.resolveFilesAuto(List<IFileSpec> fileSpecs, boolean safeMerge, boolean acceptTheirs, boolean acceptYours, boolean showActionsOnly, boolean forceResolve)
          Automatically resolve the results of a previousPerforce file integration.
 List<IFileSpec> IClient.revertFiles(List<IFileSpec> fileSpecs, boolean noUpdate, int changeListId, boolean revertOnlyUnchanged, boolean noRefresh)
          Revert a open Perforce client workspace files back to the revision previously synced from the Perforce depot, discarding any pending changelists or integrations that have been made so far.
 List<IFileSpec> IClient.shelveChangelist(IChangelist list)
          Shelve the file(s) in a pending changelist.
 List<IFileSpec> IClient.shelveChangelist(int changelistId, List<IFileSpec> fileSpecs, boolean forceUpdate, boolean replace, boolean discard)
          Update/replace/delete shelved file(s) from a pending changelist.
 List<IFileSpec> IClient.sync(List<IFileSpec> fileSpecs, boolean forceUpdate, boolean noUpdate, boolean clientBypass, boolean serverBypass)
          Sync a Perforce client workspace against the Perforce server.
 List<IFileSpec> IClient.unlockFiles(List<IFileSpec> fileSpecs, int changeListId, boolean force)
          Release locked files but leave them open.
 List<IFileSpec> IClient.unshelveChangelist(int shelveChangelistId, List<IFileSpec> fileSpecs, int clientChangelistId, boolean forceOverwrite, boolean previewOnly)
          Unshelve file(s) from a shelved changelist
 List<IFileSpec> IClient.where(List<IFileSpec> fileSpecs)
          For each of the passed-in file specs, show how the named file maps through the client view.
 

Uses of ConnectionException in com.perforce.p4java.core
 

Methods in com.perforce.p4java.core that throw ConnectionException
 List<String> IChangelist.getCachedJobIdList()
          Return a cached list of job Id's associated with this changelist.
 InputStream IChangelist.getDiffs(DiffType diffType)
          Get an InputStream onto the file diffs associated with this changelist.
 List<IFileSpec> IChangelist.getFiles(boolean refresh)
          Get the list of files associated with this changelist, optionally refreshing the list from the server.
 List<String> IChangelist.getJobIds()
          Return a list of Perforce jobs IDs for jobs marked as associated with this changelist.
 List<IJob> IChangelist.getJobs()
          Return a list of Perforce jobs marked as associated with this changelist.
 void IChangelist.refresh()
          Refresh this changelist directly from the server.
 void IServerResource.refresh()
          Refresh the underlying object from the Perforce server.
 List<IFileSpec> IChangelist.submit(boolean reOpen)
          Submit this changelist.
 List<IFileSpec> IChangelist.submit(boolean reOpen, List<String> jobIds, String jobStatus)
          Submit this changelist and associate it with the passed-in jobs.
 void ILabel.update()
          Update (or even create) this label on the associated Perforce server, if that server has been set for this label.
 void IServerResource.update()
          Update the Perforce server object associated with the underlying P4Java object, if possible.
 void IServerResource.update(boolean force)
          Force (if true) update the Perforce server object associated with the underlying P4Java object, if possible.
 void IUser.update(boolean force)
          Updates this user on the Perforce server; if force is true, force the change (requires super user / admin privileges to work properly).
 void IServerResource.update(Options opts)
          Update the Perforce server object associated with the underlying P4Java object and its options, if possible.
 String ILabel.updateOnServer()
          Deprecated. use update() instead.
 String IJob.updateOnServer()
          Deprecated. use the IServerResource update method instead if possible.
 void IChangelist.updateOnServer(boolean refresh)
          Deprecated. use update optionally followed by refresh()
 

Uses of ConnectionException in com.perforce.p4java.core.file
 

Methods in com.perforce.p4java.core.file that throw ConnectionException
 List<IFileAnnotation> IFileSpec.getAnnotations(DiffType wsOptions, boolean allResults, boolean useChangeNumbers, boolean followBranches)
          Get the file annotations associated with this file.
 InputStream IFileSpec.getContents(boolean noHeaderLine)
          Get the contents of this specific Perforce file revision from the Perforce depot as an InputStream.
 Map<IFileSpec,List<IFileRevisionData>> IFileSpec.getRevisionHistory(int maxRevs, boolean contentHistory, boolean includeInherited, boolean longOutput, boolean truncatedLongOutput)
          Get the revision history of this Perforce file.
 List<IFileSpec> IFileSpec.move(int changelistId, boolean listOnly, boolean noClientMove, String fileType, IFileSpec toFile)
          Move this file if it's already opened for edit or add (the fromFile) to the destination file (the toFile).
 

Uses of ConnectionException in com.perforce.p4java.exception
 

Subclasses of ConnectionException in com.perforce.p4java.exception
 class ConnectionNotConnectedException
          Special subclass of ConnectionException to signal the case of attempting to issue a Perforce server command with an IServer that hasn't been explicitly connected to that Perforce server.
 class TrustException
          Special subclass of ConnectionException to signal the case of attempting to establish trust for a SSL connection to the Perforce server.
 

Uses of ConnectionException in com.perforce.p4java.impl.generic.core
 

Methods in com.perforce.p4java.impl.generic.core that throw ConnectionException
 void JobSpec.complete()
          Completing a job spec calls JobSpec.refresh() and updates the #isComplete() flag.
 void ServerResource.complete()
           
 List<String> Changelist.getCachedJobIdList()
           
 InputStream Changelist.getDiffs(DiffType diffType)
           
 List<IFileSpec> Changelist.getFiles(boolean refresh)
           
 List<IFileSpec> Changelist.getFiles(boolean refresh, boolean bypassServer)
           
 List<String> Changelist.getJobIds()
           
 List<IJob> Changelist.getJobs()
           
 void Stream.refresh()
          This method will refresh by getting the complete stream model.
 void Label.refresh()
          This method will refresh by getting the complete label model.
 void BranchSpec.refresh()
          This method will refresh by getting the complete branch model.
 void JobSpec.refresh()
          This method will refresh by getting the complete job spec model.
 void ServerResource.refresh()
           
 void Job.refresh()
          This method will refresh by getting the complete job model.
 void UserGroup.refresh()
           
 void Changelist.refresh()
           
 void User.refresh()
           
 List<IFileSpec> Changelist.submit(boolean reOpen)
           
 List<IFileSpec> Changelist.submit(boolean reOpen, List<String> jobIds, String jobStatus)
           
 void Stream.update()
           
 void Label.update()
           
 void BranchSpec.update()
           
 void ServerResource.update()
           
 void Job.update()
           
 void UserGroup.update()
           
 void Changelist.update()
           
 void User.update()
           
 void Stream.update(boolean force)
           
 void ServerResource.update(boolean force)
           
 void Changelist.update(boolean force)
           
 void User.update(boolean force)
           
 void ServerResource.update(Options opts)
           
 void Changelist.update(Options opts)
           
 String Label.updateOnServer()
           
 String Job.updateOnServer()
           
 void Changelist.updateOnServer(boolean refresh)
           
 

Constructors in com.perforce.p4java.impl.generic.core that throw ConnectionException
BranchSpec(IBranchSpecSummary summary)
          Construct a new BranchSpec from the passed-in summary branch spec.
Changelist(IChangelistSummary summary, IServer server, boolean refresh)
          Construct a new Changelist using the passed-in changelist as a template.
Label(ILabelSummary labelSummary)
          Given an ILabelSummary object, construct a new Label object from it.
Stream(IStreamSummary summary)
          Construct a new Stream from the passed-in summary stream spec.
 

Uses of ConnectionException in com.perforce.p4java.impl.generic.core.file
 

Methods in com.perforce.p4java.impl.generic.core.file that throw ConnectionException
 List<IFileAnnotation> FileSpec.getAnnotations(DiffType wsOptions, boolean allResults, boolean useChangeNumbers, boolean followBranches)
           
 InputStream FileSpec.getContents(boolean noHeaderLine)
           
 Map<IFileSpec,List<IFileRevisionData>> FileSpec.getRevisionHistory(int maxRevs, boolean contentHistory, boolean includeInherited, boolean longOutput, boolean truncatedLongOutput)
           
 List<IFileSpec> FileSpec.move(int changelistId, boolean listOnly, boolean noClientMove, String fileType, IFileSpec toFile)
           
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.client
 

Methods in com.perforce.p4java.impl.mapbased.client that throw ConnectionException
 List<IFileSpec> Client.addFiles(List<IFileSpec> fileSpecs, boolean noUpdate, int changeListId, String fileType, boolean useWildcards)
           
 void Client.complete()
          Completing a client calls Client.refresh() and updates the #isComplete() flag.
 IChangelist Client.createChangelist(IChangelist newChangelist)
           
 List<IFileSpec> Client.deleteFiles(List<IFileSpec> fileSpecs, int changeListId, boolean noUpdate)
           
 List<IFileSpec> Client.editFiles(List<IFileSpec> fileSpecs, boolean noUpdate, boolean bypassClientUpdate, int changeListId, String fileType)
           
 List<IFileSpec> Client.getDiffFiles(List<IFileSpec> fileSpecs, int maxFiles, boolean diffNonTextFiles, boolean openedDifferentMissing, boolean openedForIntegrate, boolean unopenedMissing, boolean unopenedDifferent, boolean unopenedWithStatus, boolean openedSame)
           
 List<IFileSpec> Client.haveList(List<IFileSpec> fileSpecs)
           
 List<IFileSpec> Client.integrateFiles(int changeListId, boolean showActionsOnly, IntegrationOptions integOpts, String branchSpec, IFileSpec fromFile, IFileSpec toFile)
           
 List<IFileSpec> Client.labelSync(List<IFileSpec> fileSpecs, String labelName, boolean noUpdate, boolean addFiles, boolean deleteFiles)
           
 List<IFileSpec> Client.lockFiles(List<IFileSpec> fileSpecs, int changeListId)
           
 List<IFileSpec> Client.openedFiles(List<IFileSpec> fileSpecs, int maxFiles, int changeListId)
           
 void Client.refresh()
          This method will refresh by getting the complete client model.
 List<IFileSpec> Client.reopenFiles(List<IFileSpec> fileSpecs, int changeListId, String fileType)
           
 List<IFileSpec> Client.resolvedFiles(List<IFileSpec> fileSpecs, boolean showBaseRevision)
           
 IFileSpec Client.resolveFile(IFileSpec targetFile, InputStream sourceStream)
           
 IFileSpec Client.resolveFile(IFileSpec targetFile, InputStream sourceStream, boolean useTextualMerge, int startFromRev, int endFromRev)
           
 List<IFileSpec> Client.resolveFilesAuto(List<IFileSpec> fileSpecs, boolean safeMerge, boolean acceptTheirs, boolean acceptYours, boolean showActionsOnly, boolean forceResolve)
           
 List<IFileSpec> Client.revertFiles(List<IFileSpec> fileSpecs, boolean noUpdate, int changeListId, boolean revertOnlyUnchanged, boolean noRefresh)
           
 List<IFileSpec> Client.shelveChangelist(IChangelist list)
           
 List<IFileSpec> Client.shelveChangelist(int changelistId, List<IFileSpec> fileSpecs, boolean forceUpdate, boolean replace, boolean discard)
           
 List<IFileSpec> Client.sync(List<IFileSpec> fileSpecs, boolean forceUpdate, boolean noUpdate, boolean clientBypass, boolean serverBypass)
           
 List<IFileSpec> Client.unlockFiles(List<IFileSpec> fileSpecs, int changeListId, boolean force)
           
 List<IFileSpec> Client.unshelveChangelist(int shelveChangelistId, List<IFileSpec> fileSpecs, int clientChangelistId, boolean forceOverwrite, boolean previewOnly)
           
 void Client.update()
           
 void Client.update(boolean force)
           
 List<IFileSpec> Client.where(List<IFileSpec> fileSpecs)
           
 

Constructors in com.perforce.p4java.impl.mapbased.client that throw ConnectionException
Client(IClientSummary clientSummary, boolean refresh)
          Construct a new Client object using the passed-in client summary object as a partial template.
Client(IClientSummary clientSummary, IServer serverImpl, boolean refresh)
          Construct a new Client object using the passed-in client summary object as a partial template along with the passed-in IServer object.
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.rpc
 

Methods in com.perforce.p4java.impl.mapbased.rpc that throw ConnectionException
protected  void RpcServer.checkFingerprint(RpcConnection rpcConnection)
          Check the fingerprint of the Perforce server SSL connection
 void RpcServer.connect()
          Try to establish an actual RPC connection to the target Perforce server.
 void OneShotServerImpl.connect()
           
 void NtsServerImpl.connect()
          Try to establish an actual RPC connection to the target Perforce server.
 void RpcServer.disconnect()
          Try to cleanly disconnect from the Perforce server at the other end of the current connection (with the emphasis on "cleanly").
 void OneShotServerImpl.disconnect()
           
 void NtsServerImpl.disconnect()
          Try to cleanly disconnect from the Perforce server at the other end of the current connection (with the emphasis on "cleanly").
 Map<String,Object>[] OneShotServerImpl.execMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
           
 Map<String,Object>[] NtsServerImpl.execMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
           
protected  Map<String,Object>[] OneShotServerImpl.execMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap, String inString, boolean ignoreCallbacks, IStreamingCallback callback, int callbackKey)
           
protected  Map<String,Object>[] NtsServerImpl.execMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap, String inString, boolean ignoreCallbacks, IStreamingCallback callback, int callbackKey, IFilterCallback filterCallback)
           
protected  List<Map<String,Object>> OneShotServerImpl.execMapCmdList(String cmdName, String[] cmdArgs, Map<String,Object> inMap, String inString, boolean ignoreCallbacks, IStreamingCallback callback, int callbackKey, IFilterCallback filterCallback)
           
protected  List<Map<String,Object>> NtsServerImpl.execMapCmdList(String cmdName, String[] cmdArgs, Map<String,Object> inMap, String inString, boolean ignoreCallbacks, IStreamingCallback callback, int callbackKey, IFilterCallback filterCallback)
           
 Map<String,Object>[] OneShotServerImpl.execQuietMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
           
 Map<String,Object>[] NtsServerImpl.execQuietMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
           
 InputStream OneShotServerImpl.execQuietStreamCmd(String cmdName, String[] cmdArgs)
           
 InputStream NtsServerImpl.execQuietStreamCmd(String cmdName, String[] cmdArgs)
           
 InputStream OneShotServerImpl.execStreamCmd(String cmdName, String[] cmdArgs)
           
 InputStream NtsServerImpl.execStreamCmd(String cmdName, String[] cmdArgs)
           
protected  InputStream OneShotServerImpl.execStreamCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap, String inString, boolean ignoreCallbacks)
          Note that this method does the access / request exception processing here rather than passing things up the stack; we may introduce an extended version of this method to take the map array as an output parameter in later releases.
protected  InputStream NtsServerImpl.execStreamCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap, String inString, boolean ignoreCallbacks)
          Note that this method does the access / request exception processing here rather than passing things up the stack; we may introduce an extended version of this method to take the map array as an output parameter in later releases.
 ServerStatus RpcServer.init(String host, int port, Properties props)
          The default init sets up things like host names, etc., and fails if we can't establish some pretty basic things at connect time.
 ServerStatus OneShotServerImpl.init(String host, int port, Properties props)
          Shorthand for the options-based init() above, but with a null opts arg.
 ServerStatus NtsServerImpl.init(String host, int port, Properties props)
          Shorthand for the options-based init() above, but with a null opts arg.
 ServerStatus RpcServer.init(String host, int port, Properties props, UsageOptions opts)
           
 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 NtsServerImpl.init(String host, int port, Properties props, UsageOptions opts)
          Shorthand for the options-based init() above, but with a fasle secure arg.
 ServerStatus RpcServer.init(String host, int port, Properties props, UsageOptions opts, boolean secure)
           
 ServerStatus NtsServerImpl.init(String host, int port, Properties props, UsageOptions opts, boolean secure)
          Shorthand for the options-based init() above, but with a fasle secure arg.
 ServerStatus OneShotServerImpl.init(String host, int port, Properties props, UsageOptions opts, boolean secure, String rsh)
          Initialize the server.
 ServerStatus NtsServerImpl.init(String host, int port, Properties props, UsageOptions opts, boolean secure, String rsh)
          Initialize the server.
protected  ExternalEnv OneShotServerImpl.setupCmd(RpcPacketDispatcher dispatcher, RpcConnection rpcConnection, ProtocolCommand protocolSpecs, String cmdName, String[] cmdArgs, Map<String,Object> inMap, boolean ignoreCallbacks, int cmdCallBackKey, boolean isStream)
          Factors out the command setup that's common to stream and map commands.
protected  ExternalEnv NtsServerImpl.setupCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap, boolean ignoreCallbacks, int cmdCallBackKey, boolean isStream)
          Factors out the command setup that's common to stream and map commands.
 boolean RpcServer.supportsSmartMove()
           
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.rpc.connection
 

Methods in com.perforce.p4java.impl.mapbased.rpc.connection that throw ConnectionException
abstract  void RpcConnection.disconnect(RpcPacketDispatcher dispatcher)
          Disconnect this server.
abstract  RpcPacket RpcConnection.getRpcPacket()
          Get the next RPC packet from the receive queue.
abstract  RpcPacket RpcConnection.getRpcPacket(RpcPacketFieldRule fieldRule, IFilterCallback filterCallback)
          Get the next RPC packet from the receive queue with an optional rule to handle the RPC packet fields.
abstract  long RpcConnection.putRpcPacket(RpcPacket rpcPacket)
          Put a Perforce RPC packet onto the output stream.
abstract  long RpcConnection.putRpcPackets(RpcPacket[] rpcPackets)
          Put an array of RPC packets.
 void RpcConnection.useConnectionCompression()
          If called, will set this connection to use (GZIP) compression for all traffic on this connection from this point on.
 

Constructors in com.perforce.p4java.impl.mapbased.rpc.connection that throw ConnectionException
RpcConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset clientCharset)
          Create a Perforce RPC connection to a given host and port number pair.
RpcConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset clientCharset, boolean secure)
          Create a Perforce RPC connection to a given host and port number pair.
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.rpc.func.client
 

Methods in com.perforce.p4java.impl.mapbased.rpc.func.client that throw ConnectionException
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.checkFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          The infamous checkFile omnibus method, used to, well, check files on the Perforce client side.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.chmodFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Change the r/w (etc.) mode of a file locally.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientUserInteraction.clientAck(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Respond back to the server with what amounts to a yes / no response in the face of errors or success.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientMerge.clientCloseMerge(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Close the merge write (above) and act on the results.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientUserInteraction.clientCrypto(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Process the client-Crypto command from the Perforce server.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientUserInteraction.clientInputData(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Get some requested data (typically something like a submit form) from somewhere (typically a map passed in from the upper levels of the API) and pass it back to the server, properly munged.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientMerge.clientOpenMerge3(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap, boolean twoWayMerge)
          Implement a non-interactive version of the three-way client-side merge.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientUserInteraction.clientPrompt(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Prompt the end-user (i.e.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientUserInteraction.clientSetPassword(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Set the client-side password in response to a Perforce server command telling us to do just that, usually as a result of an earlier successful login attempt in the same session.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientUserInteraction.clientSingleSignon(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Implements the client-side of the Perforce single sign on (SSO) protocol.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientMerge.clientWriteMerge(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Write merge data to the client if necessary.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.closeFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Close a file that was opened earlier for writing.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.deleteFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
           
 RpcPacketDispatcher.RpcPacketDispatcherResult ClientFunctionDispatcher.dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, Map<String,Object> resultsMap)
           
 RpcOutputStream ClientSystemFileCommands.getTempOutputStream(CommandEnv cmdEnv)
          Return the temp RPC output stream.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.moveFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Move a file from one location to another.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.openFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Open a client file for writing.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.reconcileAdd(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Reconcile add confirm - scans the directory (local syntax) and returns files in the directory using the full path.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.reconcileEdit(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          "inquire" about file, for 'p4 reconcile'
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.reconcileFlush(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Reconcile flush - remove the skip add files map from the reconcile handler.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSendFile.sendFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Send a file's contents back to the Perforce server.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.writeBinary(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          A specialised method to handle the client-OutputBinary command.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.writeFile(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Write file contents to the target file.
protected  RpcPacketDispatcher.RpcPacketDispatcherResult ClientSystemFileCommands.writeText(RpcConnection rpcConnection, CommandEnv cmdEnv, Map<String,Object> resultsMap)
          Handles the client-OutputText command.
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.rpc.func.proto
 

Methods in com.perforce.p4java.impl.mapbased.rpc.func.proto that throw ConnectionException
 RpcPacketDispatcher.RpcPacketDispatcherResult ProtocolFunctionDispatcher.dispatch(RpcPacketDispatcher.RpcPacketDispatcherMode dispatchMode, RpcFunctionSpec funcSpec, CommandEnv cmdEnv, Map<String,Object> resultsMap)
           
 void FlowControl.processFlushCommandFromServer(RpcConnection rpcConnection, RpcFunctionSpec funcSpec, Map<String,Object> resultsMap)
          Given a map passed-in from the main dispatcher that represents a flush command received from the Perforce server, respond appropriately.
 void FlowControl.sendFlush2(RpcConnection rpcConnection, Map<String,Object> resultsMap)
           
 void ProtocolFunctionDispatcher.sendRelease2(RpcConnection rpcConnection)
           
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.rpc.packet
 

Methods in com.perforce.p4java.impl.mapbased.rpc.packet that throw ConnectionException
 List<Map<String,Object>> RpcPacketDispatcher.dispatch(CommandEnv cmdEnv)
          Top-level dispatcher method.
 void RpcPacketDispatcher.shutdown(RpcConnection rpcConnection)
          Attempt to cleanly shut down the dispatcher; this should involve sending a release2 packet, but this is not always possible, and we suppress any resulting errors.
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.rpc.stream
 

Methods in com.perforce.p4java.impl.mapbased.rpc.stream that throw ConnectionException
 void RpcStreamConnection.disconnect(RpcPacketDispatcher dispatcher)
           
 RpcPacket RpcStreamConnection.getRpcPacket()
          Get a Perforce RPC packet from the underlying stream.
 RpcPacket RpcStreamConnection.getRpcPacket(RpcPacketFieldRule fieldRule, IFilterCallback filterCallback)
          Get a Perforce RPC packet from the underlying stream with an optional rule to handle the RPC packet fields.
 long RpcStreamConnection.putRpcPacket(RpcPacket packet)
          Put a Perforce RPC packet onto the output stream.
 long RpcStreamConnection.putRpcPackets(RpcPacket[] packets)
           
 void RpcStreamConnection.useConnectionCompression()
           
 

Constructors in com.perforce.p4java.impl.mapbased.rpc.stream that throw ConnectionException
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset, boolean secure)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset, RpcSocketPool pool)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset, RpcSocketPool pool, boolean secure)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset, Socket socket)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset, Socket socket, boolean secure)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset, Socket socket, RpcSocketPool pool, boolean secure)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
RpcStreamConnection(String serverHost, int serverPort, Properties props, ServerStats stats, Charset charset, Socket socket, RpcSocketPool pool, boolean secure, String rsh)
          Construct a new Perforce RPC connection to the named Perforce server using java.io socket streams at the lowest level.
 

Uses of ConnectionException in com.perforce.p4java.impl.mapbased.server
 

Methods in com.perforce.p4java.impl.mapbased.server that throw ConnectionException
 void Server.connect()
           
 String Server.createBranchSpec(IBranchSpec branchSpec)
           
 String Server.createClient(IClient newClient)
           
 IJob Server.createJob(Map<String,Object> fieldMap)
           
 String Server.createLabel(ILabel label)
           
 String Server.createUser(IUser user, boolean force)
           
 String Server.createUserGroup(IUserGroup group)
           
 String Server.deleteBranchSpec(String branchSpecName, boolean force)
           
 String Server.deleteClient(String clientName, boolean force)
           
 void Server.deleteCounter(String counterName, boolean perforceCounter)
           
 String Server.deleteJob(String jobId)
           
 String Server.deleteLabel(String labelName, boolean force)
           
 String Server.deletePendingChangelist(int id)
           
 String Server.deleteUser(String userName, boolean force)
           
 String Server.deleteUserGroup(IUserGroup group)
           
 void Server.disconnect()
           
 Map<String,Object>[] Server.execMapCmd(CmdSpec cmdSpec, String[] cmdArgs, Map<String,Object> inMap)
           
abstract  Map<String,Object>[] Server.execMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
           
 List<Map<String,Object>> Server.execMapCmdList(CmdSpec cmdSpec, String[] cmdArgs, Map<String,Object> inMap)
           
abstract  Map<String,Object>[] Server.execQuietMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
           
abstract  InputStream Server.execQuietStreamCmd(String cmdName, String[] cmdArgs)
           
 InputStream Server.execStreamCmd(CmdSpec cmdSpec, String[] cmdArgs)
           
abstract  InputStream Server.execStreamCmd(String cmdName, String[] cmdArgs)
           
 List<IFix> Server.fixJobs(List<String> jobIdList, int changeListId, String status, boolean delete)
           
 IBranchSpec Server.getBranchSpec(String name)
           
 List<IBranchSpecSummary> Server.getBranchSpecs(String userName, String nameFilter, int maxReturns)
           
 IChangelist Server.getChangelist(int id)
           
 InputStream Server.getChangelistDiffs(int id, DiffType diffType)
           
 InputStream Server.getChangelistDiffsStream(int id, DescribeOptions options)
           
 List<IFileSpec> Server.getChangelistFiles(int id)
           
 List<IChangelistSummary> Server.getChangelists(int maxMostRecent, List<IFileSpec> fileSpecs, String clientName, String userName, boolean includeIntegrated, boolean submittedOnly, boolean pendingOnly, boolean longDesc)
           
 List<IChangelistSummary> Server.getChangelists(int maxMostRecent, List<IFileSpec> fileSpecs, String clientName, String userName, boolean includeIntegrated, IChangelist.Type type, boolean longDesc)
           
 IClient Server.getClient(IClientSummary clientSummary)
           
 IClient Server.getClient(String clientName)
           
 List<IClientSummary> Server.getClients(String userName, String queryString, int maxResults)
           
 IClient Server.getClientTemplate(String clientName)
           
 IClient Server.getClientTemplate(String clientName, boolean allowExistent)
           
 String Server.getCounter(String counterName)
           
 Map<String,String> Server.getCounters()
           
 List<IDbSchema> Server.getDbSchema(List<String> tableSpecs)
           
 List<IFileSpec> Server.getDepotFiles(List<IFileSpec> fileSpecs, boolean allRevs)
           
 List<IDepot> Server.getDepots()
           
 List<IFileSpec> Server.getDirectories(List<IFileSpec> fileSpecs, boolean clientOnly, boolean deletedOnly, boolean haveListOnly)
           
 List<Map<String,Object>> Server.getExportRecords(boolean useJournal, long maxRecs, int sourceNum, long offset, boolean format, String journalPrefix, String filter)
           
 List<IExtendedFileSpec> Server.getExtendedFiles(List<IFileSpec> fileSpecs, int maxFiles, int sinceChangelist, int affectedByChangelist, FileStatOutputOptions outputOptions, FileStatAncilliaryOptions ancilliaryOptions)
           
 List<IFileAnnotation> Server.getFileAnnotations(List<IFileSpec> fileSpecs, DiffType wsOpts, boolean allResults, boolean useChangeNumbers, boolean followBranches)
           
 InputStream Server.getFileContents(List<IFileSpec> fileSpecs, boolean allRevs, boolean noHeaderLine)
           
 List<IFileDiff> Server.getFileDiffs(IFileSpec file1, IFileSpec file2, String branchSpecName, DiffType diffType, boolean quiet, boolean includeNonTextDiffs, boolean gnuDiffs)
           
 List<IFix> Server.getFixList(List<IFileSpec> fileSpecs, int changeListId, String jobId, boolean includeIntegrations, int maxFixes)
           
 List<IChangelist> Server.getInterchanges(IFileSpec fromFile, IFileSpec toFile, boolean showFiles, boolean longDesc, int maxChangelistId)
           
 List<IChangelist> Server.getInterchanges(String branchSpecName, List<IFileSpec> fromFileList, List<IFileSpec> toFileList, boolean showFiles, boolean longDesc, int maxChangelistId, boolean reverseMapping, boolean biDirectional)
           
 IJob Server.getJob(String jobId)
           
 List<IJob> Server.getJobs(List<IFileSpec> fileSpecs, int maxJobs, boolean longDescriptions, boolean reverseOrder, boolean includeIntegrated, String jobView)
           
 IJobSpec Server.getJobSpec()
           
 ILabel Server.getLabel(String labelName)
           
 List<ILabelSummary> Server.getLabels(String user, int maxLabels, String nameFilter, List<IFileSpec> fileList)
           
 List<IFileSpec> Server.getOpenedFiles(List<IFileSpec> fileSpecs, boolean allClients, String clientName, int maxFiles, int changeListId)
           
 List<IProtectionEntry> Server.getProtectionEntries(boolean allUsers, String hostName, String userName, String groupName, List<IFileSpec> fileList)
           
 List<IUserSummary> Server.getReviews(int changelistId, List<IFileSpec> fileSpecs)
           
 Map<IFileSpec,List<IFileRevisionData>> Server.getRevisionHistory(List<IFileSpec> fileSpecs, int maxRevs, boolean contentHistory, boolean includeInherited, boolean longOutput, boolean truncatedLongOutput)
           
 InputStream Server.getServerFileDiffs(IFileSpec file1, IFileSpec file2, String branchSpecName, DiffType diffType, boolean quiet, boolean includeNonTextDiffs, boolean gnuDiffs)
           
 IServerInfo Server.getServerInfo()
           
 List<IServerProcess> Server.getServerProcesses()
           
protected  int Server.getServerVersion()
           
 List<IFileSpec> Server.getSubmittedIntegrations(List<IFileSpec> fileSpecs, String branchSpec, boolean reverseMappings)
           
 IUser Server.getUser(String userName)
           
 IUserGroup Server.getUserGroup(String name)
           
 List<IUserGroup> Server.getUserGroups(String userOrGroupName, boolean indirect, boolean displayValues, int maxGroups)
           
 List<IUserSummary> Server.getUsers(List<String> userList, int maxUsers)
           
 String Server.handleFileErrorStr(Map<String,Object> map)
           
 IFileSpec Server.handleFileReturn(Map<String,Object> map)
           
 IFileSpec Server.handleFileReturn(Map<String,Object> map, IClient client)
           
 IFileSpec Server.handleIntegrationFileReturn(Map<String,Object> map, boolean ignoreInfo)
           
 IFileSpec Server.handleIntegrationFileReturn(Map<String,Object> map, IClient client)
           
 ServerStatus IServerControl.init(String host, int port, Properties props)
          Convenience method for init(host, port, props, null).
 ServerStatus Server.init(String host, int port, Properties props)
           
 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 props, UsageOptions opts, boolean secure)
           
 ServerStatus IServerControl.init(String host, int port, Properties props, UsageOptions opts, boolean secure, String rsh)
          Initialize the server.
 void Server.login(String password)
           
 void Server.login(String password, boolean allHosts)
          Works by retrieving the auth ticket and storing it away for use on all future commands.
 void Server.logout()
           
 List<IFileSpec> Server.moveFile(int changeListId, boolean listOnly, boolean noClientMove, String fileType, IFileSpec fromFile, IFileSpec toFile)
           
protected  List<IChangelist> Server.processInterchangeMaps(List<Map<String,Object>> resultMaps, boolean showFiles)
           
 void Server.setCounter(String counterName, String value, boolean perforceCounter)
           
 boolean Server.supportsUnicode()
           
 List<IFileSpec> Server.tagFiles(List<IFileSpec> fileSpecs, String labelName, boolean listOnly, boolean delete)
           
 String Server.updateBranchSpec(IBranchSpec branchSpec)
           
 String Server.updateClient(IClient client)
           
 String Server.updateClient(IClient client, boolean force)
           
 String Server.updateJob(IJob job)
           
 String Server.updateLabel(ILabel label)
           
 String Server.updateUser(IUser user, boolean force)
           
 String Server.updateUserGroup(IUserGroup group, boolean updateIfOwner)
           
 

Uses of ConnectionException in com.perforce.p4java.server
 

Methods in com.perforce.p4java.server that throw ConnectionException
 void IServer.connect()
          Connect to the Perforce server associated with this server object.
 String IServer.createBranchSpec(IBranchSpec branchSpec)
          Create a new Perforce branch spec on the Perforce server.
 String IServer.createClient(IClient newClient)
          Attempt to create a new Perforce client (a.k.a.
 IJob IServer.createJob(Map<String,Object> fieldMap)
          Create a new Perforce job in the Perforce server corresponding to the passed-in Perforce job fields (which in turn should correspond to at least the mandatory fields defined in the reigning Perforce job spec).
 String IServer.createLabel(ILabel label)
          Create a new Perforce label in the Perforce server.
 String IServer.createUser(IUser user, boolean force)
          Create a new Perforce user on the Perforce server.
 String IServer.createUserGroup(IUserGroup group)
          Create a new Perforce user group on the Perforce server.
 String IServer.deleteBranchSpec(String branchSpecName, boolean force)
          Delete a named Perforce branch spec from the Perforce server.
 String IServer.deleteClient(String clientName, boolean force)
          Delete a Perforce client from a Perforce server.
 void IServer.deleteCounter(String counterName, boolean perforceCounter)
           
 String IServer.deleteJob(String jobId)
          Delete a job from the Perforce server.
 String IServer.deleteLabel(String labelName, boolean force)
          Delete a named Perforce label from the Perforce server.
 String IServer.deletePendingChangelist(int id)
          Delete a pending Perforce changelist.
 String IServer.deleteUser(String userName, boolean force)
          Delete a named Perforce user from the Perforce server.
 String IServer.deleteUserGroup(IUserGroup group)
          Delete a Perforce user group from the Perforce server.
 void IServer.disconnect()
          Disconnect from this Perforce server.
 Map<String,Object>[] IServer.execMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
          Issue an arbitrary P4Java command to the Perforce server and return the results as a map.
 Map<String,Object>[] IServer.execQuietMapCmd(String cmdName, String[] cmdArgs, Map<String,Object> inMap)
          Issue an arbitrary P4Java command to the Perforce server and return the results as a map without invoking any command callbacks.
 InputStream IServer.execQuietStreamCmd(String cmdName, String[] cmdArgs)
          Issue an arbitrary P4Java command to the Perforce server and get the results as a stream without invoking any command callbacks.
 InputStream IServer.execStreamCmd(String cmdName, String[] cmdArgs)
          Issue an arbitrary P4Java command to the Perforce server and get the results as a stream.
 List<IFix> IServer.fixJobs(List<String> jobIdList, int changeListId, String status, boolean delete)
          Mark each named job as being fixed by the changelist number given with changeListId.
 IBranchSpec IServer.getBranchSpec(String name)
          Get a specific named Perforce branch spec from the Perforce server.
 List<IBranchSpecSummary> IServer.getBranchSpecs(String userName, String nameFilter, int maxReturns)
          Get a list of all summary Perforce branch specs known to the Perforce server.
 IChangelist IServer.getChangelist(int id)
          Get a specific Perforce changelist from a Perforce server.
 InputStream IServer.getChangelistDiffs(int id, DiffType diffType)
          Get an InputStream onto the file diffs associated with a specific submitted changelist.
 InputStream IServer.getChangelistDiffsStream(int id, DescribeOptions options)
          Get an InputStream onto the file diffs associated with a specific submitted changelist.
 List<IFileSpec> IServer.getChangelistFiles(int id)
          Get a list of the Perforce depot files associated with a Perforce changelist.
 List<IChangelistSummary> IServer.getChangelists(int maxMostRecent, List<IFileSpec> fileSpecs, String clientName, String userName, boolean includeIntegrated, boolean submittedOnly, boolean pendingOnly, boolean longDesc)
          An omnibus method to get a list of Perforce changelists from a server using zero or more qualifiers (note that convenience methods also exists, especially on the IClient interface).
 List<IChangelistSummary> IServer.getChangelists(int maxMostRecent, List<IFileSpec> fileSpecs, String clientName, String userName, boolean includeIntegrated, IChangelist.Type type, boolean longDesc)
          An omnibus method to get a list of Perforce changelists from a server using zero or more qualifiers (note that convenience methods also exists, especially on the IClient interface).
 IClient IServer.getClient(IClientSummary clientSummary)
          Convenience method for getClient(clientSummary.getName()).
 IClient IServer.getClient(String clientName)
          Get an IClient object for a specific named Perforce client.
 List<IClientSummary> IServer.getClients(String userName, String queryString, int maxResults)
          Get a list of IClientSummary objects for all Perforce clients known to this Perforce server.
 IClient IServer.getClientTemplate(String clientName)
          Get a template of a non-existent named Perforce client.
 IClient IServer.getClientTemplate(String clientName, boolean allowExistent)
          Get a template of a non-existent named Perforce client.
 String IServer.getCounter(String counterName)
          Get the value of a named Perforce counter from the Perforce server.
 Map<String,String> IServer.getCounters()
          Get a map of the Perforce server's counters.
 List<IDbSchema> IServer.getDbSchema(List<String> tableSpecs)
          Get the database schema associated with this server (admin / superuser command).
 List<IFileSpec> IServer.getDepotFiles(List<IFileSpec> fileSpecs, boolean allRevs)
          List all Perforce depot files known to the Perforce server that conform to the passed-in wild-card file specification(s).
 List<IDepot> IServer.getDepots()
          Get a list of all Perforce depots known to this Perforce server.
 List<IFileSpec> IServer.getDirectories(List<IFileSpec> fileSpecs, boolean clientOnly, boolean deletedOnly, boolean haveListOnly)
          List any directories matching the passed-in file specifications.
 List<Map<String,Object>> IServer.getExportRecords(boolean useJournal, long maxRecs, int sourceNum, long offset, boolean format, String journalPrefix, String filter)
          Get a list of exported journal or checkpoint records (admin / superuser command).
 List<IExtendedFileSpec> IServer.getExtendedFiles(List<IFileSpec> fileSpecs, int maxFiles, int sinceChangelist, int affectedByChangelist, FileStatOutputOptions outputOptions, FileStatAncilliaryOptions ancilliaryOptions)
          Return a list of everything Perforce knows about a possibly very large set of Perforce files.
 List<IFileAnnotation> IServer.getFileAnnotations(List<IFileSpec> fileSpecs, DiffType wsOpts, boolean allResults, boolean useChangeNumbers, boolean followBranches)
          Get a list of revision annotations for the specified files.
 InputStream IServer.getFileContents(List<IFileSpec> fileSpecs, boolean allrevs, boolean noHeaderLine)
          Return an InputStream onto the contents of one or more revisions of one or more Perforce depot file contents.
 List<IFileDiff> IServer.getFileDiffs(IFileSpec file1, IFileSpec file2, String branchSpecName, DiffType diffType, boolean quiet, boolean includeNonTextDiffs, boolean gnuDiffs)
          Run diff on the Perforce server of two files in the depot.
 List<IFix> IServer.getFixList(List<IFileSpec> fileSpecs, int changeListId, String jobId, boolean includeIntegrations, int maxFixes)
          Return a list of all Perforce jobs with fix records associated with them, along with the changelist number of the fix.
 List<IChangelist> IServer.getInterchanges(IFileSpec fromFile, IFileSpec toFile, boolean showFiles, boolean longDesc, int maxChangelistId)
          Get a list of changes and / or associated files not yet integrated (unsupported).
 List<IChangelist> IServer.getInterchanges(String branchSpecName, List<IFileSpec> fromFileList, List<IFileSpec> toFileList, boolean showFiles, boolean longDesc, int maxChangelistId, boolean reverseMapping, boolean biDirectional)
          Get a list of changes and / or associated files not yet integrated, based on branchspecs (unsupported).
 IJob IServer.getJob(String jobId)
          Get a specific job.
 List<IJob> IServer.getJobs(List<IFileSpec> fileSpecs, int maxJobs, boolean longDescriptions, boolean reverseOrder, boolean includeIntegrated, String jobView)
          Return a list of Perforce jobs.
 IJobSpec IServer.getJobSpec()
          Return the Perforce jobspec associated with this Perforce server.
 ILabel IServer.getLabel(String labelName)
          Get a specific named Perforce label.
 List<ILabelSummary> IServer.getLabels(String user, int maxLabels, String nameFilter, List<IFileSpec> fileList)
          Get a list of Perforce labels, optionally tied to a specific set of files.
 List<IFileSpec> IServer.getOpenedFiles(List<IFileSpec> fileSpecs, boolean allClients, String clientName, int maxFiles, int changeListId)
          If one or more Perforce file specs is passed-in, return the opened / locked status of each file (if known) within an IFileSpec object; otherwise return a list of all files known to be open for this Perforce client workspace.
static IOptionsServer ServerFactory.getOptionsServer(String serverUriString, Properties props)
          Return an IOptionsServer onto an underlying Perforce server at the host address specified by serverUriString using the protocol implementation and passed-in properties and a default UsageOptions object.
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.
 List<IProtectionEntry> IServer.getProtectionEntries(boolean allUsers, String hostName, String userName, String groupName, List<IFileSpec> fileList)
          Get a list of Perforce protection entries for the passed-in arguments.
 List<IUserSummary> IServer.getReviews(int changelistId, List<IFileSpec> fileSpecs)
          Get a list of all users who have subscribed to review the named files, the files in the numbered changelist, or all files by default.
 Map<IFileSpec,List<IFileRevisionData>> IServer.getRevisionHistory(List<IFileSpec> fileSpecs, int maxRevs, boolean contentHistory, boolean includeInherited, boolean longOutput, boolean truncatedLongOutput)
          Get the revision history data for one or more Perforce files.
static IServer ServerFactory.getServer(String serverUriString, Properties props)
          Return an IServer interface onto an underlying Perforce server at the host address specified by serverUriString using the protocol implementation and passed-in properties.
static IServer ServerFactory.getServer(URI serverUrl, Properties props)
          Deprecated. as of the 2009.2 release, use the getServer(String, Properties) method due to that Java's URI class does not accept hostnames with anything other than alphanumeric characters: even common hostnames like "perforce_p" will fail, often silently.
 InputStream IServer.getServerFileDiffs(IFileSpec file1, IFileSpec file2, String branchSpecName, DiffType diffType, boolean quiet, boolean includeNonTextDiffs, boolean gnuDiffs)
          Run diff on the Perforce server of two files in the depot.
 IServerInfo IServer.getServerInfo()
          Return a snapshot set of data on the Perforce server associated with this server interface.
 List<IServerProcess> IServer.getServerProcesses()
          Return a list of Perforce server processes active on the Perforce server.
 List<IFileSpec> IServer.getSubmittedIntegrations(List<IFileSpec> fileSpecs, String branchSpec, boolean reverseMappings)
          Get a list of submitted integrations for the passed-in filespecs.
 IUser IServer.getUser(String userName)
          Get the user details of a specific Perforce user from the Perforce server.
 IUserGroup IServer.getUserGroup(String name)
          Get the named Perforce user group.
 List<IUserGroup> IServer.getUserGroups(String userOrGroupName, boolean indirect, boolean displayValues, int maxGroups)
          Get a list of Perforce user groups from the server.
 List<IUserSummary> IServer.getUsers(List<String> userList, int maxUsers)
          Get a list of Perforce users known to this Perforce server.
 void IServer.login(String password)
          Convenience method for login(password, false).
 void IServer.login(String password, boolean allHosts)
          Log the current user (if any) in to a Perforce server, optionally arranging to be logged in for all hosts.
 void IServer.logout()
          Log the current Perforce user out of a Perforce server session.
 List<IFileSpec> IServer.moveFile(int changelistId, boolean listOnly, boolean noClientMove, String fileType, IFileSpec fromFile, IFileSpec toFile)
          Move a file already opened for edit or add (the fromFile) to the destination file (the toFile).
 void IServer.setCounter(String counterName, String value, boolean perforceCounter)
           
 void IServer.setCurrentClient(IClient client)
          Set the Perforce client associated with this server.
 boolean IServer.supportsSmartMove()
          Return true IFF the underlying Perforce server supports the new 2009.1 and later "smart move" command.
 boolean IServer.supportsUnicode()
          Return true if the underlying Perforce server supports Unicode (and is connected).
 List<IFileSpec> IServer.tagFiles(List<IFileSpec> fileSpecs, String labelName, boolean listOnly, boolean delete)
          Tag files with a Perforce label.
 String IServer.updateBranchSpec(IBranchSpec branchSpec)
          Update a Perforce branch spec on the Perforce server.
 String IServer.updateClient(IClient client)
          Update an existing Perforce client on the current Perforce server.
 String IServer.updateJob(IJob job)
          Update a Perforce job on the Perforce server.
 String IServer.updateLabel(ILabel label)
          Update an existing Perforce label in the Perforce server.
 String IServer.updateUser(IUser user, boolean force)
          Update a Perforce user on the Perforce server.
 String IServer.updateUserGroup(IUserGroup group, boolean updateIfOwner)
          Update a Perforce user group on the Perforce server.
 



Copyright © 2015 Perforce Software. All Rights Reserved.