Interface IStreamingServer
-
- All Superinterfaces:
IAttributeDelegator
,IBranchDelegator
,IBranchesDelegator
,IChangeDelegator
,IChangesDelegator
,IClientDelegator
,IClientsDelegator
,ICommitDelegator
,IConfigureDelegator
,ICounterDelegator
,ICountersDelegator
,IDBSchemaDelegator
,IDepotDelegator
,IDepotsDelegator
,IDescribeDelegator
,IDiff2Delegator
,IDirsDelegator
,IDiskspaceDelegator
,IDuplicateDelegator
,IExportDelegator
,IExtensionDelegator
,IFileAnnotateDelegator
,IFileLogDelegator
,IFilesDelegator
,IFixDelegator
,IFixesDelegator
,IFstatDelegator
,IGraphCommitLogDelegator
,IGraphListTreeDelegator
,IGraphReceivePackDelegator
,IGraphRevListDelegator
,IGraphShowRefDelegator
,IGrepDelegator
,IGroupDelegator
,IGroupsDelegator
,IHelixCommandExecutor
,IInfoDelegator
,IIntegratedDelegator
,IInterchangesDelegator
,IJobDelegator
,IJobsDelegator
,IJobSpecDelegator
,IJournalWaitDelegator
,IKeyDelegator
,IKeysDelegator
,ILabelDelegator
,ILabelsDelegator
,ILicenseDelegator
,IListDelegator
,ILogin2Delegator
,ILoginDelegator
,ILogoutDelegator
,ILogTailDelegator
,IMonitorDelegator
,IMoveDelegator
,IObliterateDelegator
,IOpenedDelegator
,IOptionsServer
,IPasswdDelegator
,IPrintDelegator
,IPropertyDelegator
,IProtectDelegator
,IProtectsDelegator
,IReloadDelegator
,IRenameClientDelegator
,IRenameUserDelegator
,IReposDelegator
,IReviewDelegator
,IReviewsDelegator
,ISearchDelegator
,IServer
,ISizesDelegator
,ISpecDelegator
,IStatDelegator
,IStreamDelegator
,IStreamlogDelegator
,IStreamsDelegator
,ITagDelegator
,ITriggersDelegator
,IUnloadDelegator
,IUserDelegator
,IUsersDelegator
,IVerifyDelegator
public interface IStreamingServer extends IOptionsServer
-
-
Field Summary
-
Fields inherited from interface com.perforce.p4java.server.IServer
ATTRIBUTE_STREAM_MAP_KEY, IN_MAP_USE_TAGS_KEY
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execStreamingMapCommand(java.lang.String cmdName, java.lang.String[] cmdArgs, java.util.Map<java.lang.String,java.lang.Object> inMap, IStreamingCallback callback, int key)
Issue a streaming map command to the Perforce server, using an optional map for any input expected by the server (such as label or job specs, etc.).-
Methods inherited from interface com.perforce.p4java.server.delegator.IAttributeDelegator
setFileAttributes, setFileAttributes, unsetFileAttribute, unsetFileAttributes
-
Methods inherited from interface com.perforce.p4java.server.delegator.IBranchDelegator
createBranchSpec, deleteBranchSpec, deleteBranchSpec, getBranchSpec, getBranchSpec, updateBranchSpec
-
Methods inherited from interface com.perforce.p4java.server.delegator.IBranchesDelegator
getBranchSpecs, getBranchSpecs
-
Methods inherited from interface com.perforce.p4java.server.delegator.IChangeDelegator
deletePendingChangelist, deletePendingChangelist, getChangelist, getChangelist
-
Methods inherited from interface com.perforce.p4java.server.delegator.IChangesDelegator
getChangelists, getChangelists, getChangelists
-
Methods inherited from interface com.perforce.p4java.server.delegator.IClientDelegator
createClient, createTempClient, deleteClient, deleteClient, getClient, getClient, getClientTemplate, getClientTemplate, getClientTemplate, switchClientView, switchStreamView, updateClient, updateClient, updateClient
-
Methods inherited from interface com.perforce.p4java.server.delegator.IClientsDelegator
getClients, getClients
-
Methods inherited from interface com.perforce.p4java.server.delegator.ICommitDelegator
getBlobObject, getCommitObject, getCommitObject, getGraphCommitLogList, getGraphObject
-
Methods inherited from interface com.perforce.p4java.server.delegator.IConfigureDelegator
setOrUnsetServerConfigurationValue, showServerConfiguration
-
Methods inherited from interface com.perforce.p4java.server.delegator.ICounterDelegator
deleteCounter, getCounter, getCounter, setCounter, setCounter
-
Methods inherited from interface com.perforce.p4java.server.delegator.ICountersDelegator
getCounters, getCounters, getCounters
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDBSchemaDelegator
getDbSchema
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDepotDelegator
createDepot, deleteDepot, getDepot
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDepotsDelegator
getDepots, getDepots
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDescribeDelegator
getChangelistDiffs, getChangelistDiffsStream, getChangelistExtendedFiles, getChangelistExtendedFiles, getChangelistFiles, getChangelistFiles, getShelvedFiles, getShelvedFiles
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDiff2Delegator
getFileDiffs, getFileDiffs, getFileDiffsStream, getServerFileDiffs
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDirsDelegator
getDirectories, getDirectories
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDiskspaceDelegator
getDiskSpace
-
Methods inherited from interface com.perforce.p4java.server.delegator.IDuplicateDelegator
duplicateRevisions
-
Methods inherited from interface com.perforce.p4java.server.delegator.IExportDelegator
getExportRecords, getExportRecords, getStreamingExportRecords
-
Methods inherited from interface com.perforce.p4java.server.delegator.IExtensionDelegator
createExtensionConfig, deleteExtension, getExtensionConfig, installExtension, listExtensions, packageExtension, sampleExtension, updateExtensionConfig
-
Methods inherited from interface com.perforce.p4java.server.delegator.IFileAnnotateDelegator
getFileAnnotations, getFileAnnotations
-
Methods inherited from interface com.perforce.p4java.server.delegator.IFileLogDelegator
getRevisionHistory, getRevisionHistory
-
Methods inherited from interface com.perforce.p4java.server.delegator.IFilesDelegator
getDepotFiles, getDepotFiles
-
Methods inherited from interface com.perforce.p4java.server.delegator.IFixDelegator
fixJobs, fixJobs
-
Methods inherited from interface com.perforce.p4java.server.delegator.IFixesDelegator
getFixes, getFixList
-
Methods inherited from interface com.perforce.p4java.server.delegator.IFstatDelegator
getExtendedFiles, getExtendedFiles
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGraphCommitLogDelegator
getGraphCommitLogList
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGraphListTreeDelegator
getGraphListTree
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGraphReceivePackDelegator
doGraphReceivePack
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGraphRevListDelegator
getGraphRevList
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGraphShowRefDelegator
getGraphShowRefs
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGrepDelegator
getMatchingLines, getMatchingLines
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGroupDelegator
createUserGroup, deleteUserGroup, getUserGroup, updateUserGroup
-
Methods inherited from interface com.perforce.p4java.server.delegator.IGroupsDelegator
getUserGroups
-
Methods inherited from interface com.perforce.p4java.server.IHelixCommandExecutor
execMapCmdList, execMapCmdList, execMapCmdList, execStreamCmd, execStreamCmdForBuffer, getErrorOrInfoStr, getErrorStr, getInfoStr, handleErrorStr, handleFileErrorStr, isAuthFail, isInfoMessage
-
Methods inherited from interface com.perforce.p4java.server.delegator.IInfoDelegator
getServerInfo
-
Methods inherited from interface com.perforce.p4java.server.delegator.IIntegratedDelegator
getSubmittedIntegrations, getSubmittedIntegrations
-
Methods inherited from interface com.perforce.p4java.server.delegator.IInterchangesDelegator
getInterchanges, getInterchanges
-
Methods inherited from interface com.perforce.p4java.server.delegator.IJobDelegator
createJob, deleteJob, getJob, updateJob
-
Methods inherited from interface com.perforce.p4java.server.delegator.IJobsDelegator
getJobs, getJobs
-
Methods inherited from interface com.perforce.p4java.server.delegator.IJobSpecDelegator
getJobSpec
-
Methods inherited from interface com.perforce.p4java.server.delegator.IJournalWaitDelegator
journalWait
-
Methods inherited from interface com.perforce.p4java.server.delegator.IKeyDelegator
deleteKey, getKey, setKey
-
Methods inherited from interface com.perforce.p4java.server.delegator.IKeysDelegator
getKeys
-
Methods inherited from interface com.perforce.p4java.server.delegator.ILabelDelegator
createLabel, deleteLabel, deleteLabel, getLabel, updateLabel
-
Methods inherited from interface com.perforce.p4java.server.delegator.ILabelsDelegator
getLabels, getLabels
-
Methods inherited from interface com.perforce.p4java.server.delegator.ILicenseDelegator
getLicense, getLimits, getValidServerIPMACAddress, updateLicense
-
Methods inherited from interface com.perforce.p4java.impl.mapbased.server.cmd.IListDelegator
getListData, getListData
-
Methods inherited from interface com.perforce.p4java.server.delegator.ILogin2Delegator
getLogin2Status, getLogin2Status, login2, login2, login2CheckAuth, login2InitAuth, login2ListMethods
-
Methods inherited from interface com.perforce.p4java.server.delegator.ILoginDelegator
getLoginStatus, isDontWriteTicket, login, login, login, login, login
-
Methods inherited from interface com.perforce.p4java.server.delegator.ILogoutDelegator
logout, logout
-
Methods inherited from interface com.perforce.p4java.server.delegator.ILogTailDelegator
getLogTail
-
Methods inherited from interface com.perforce.p4java.server.delegator.IMonitorDelegator
getServerProcesses, getServerProcesses
-
Methods inherited from interface com.perforce.p4java.server.delegator.IMoveDelegator
moveFile, moveFile
-
Methods inherited from interface com.perforce.p4java.server.delegator.IObliterateDelegator
obliterateFiles
-
Methods inherited from interface com.perforce.p4java.server.delegator.IOpenedDelegator
getOpenedFiles, getOpenedFiles
-
Methods inherited from interface com.perforce.p4java.server.IOptionsServer
addTrust, addTrust, addTrust, execInputStringMapCmdList, execInputStringMapCmdList, execInputStringStreamCmd, execInputStringStreamingMapCmd, execMapCmdList, execQuietMapCmdList, execStreamCmd, getAuthId, getTicketsFilePath, getTrust, getTrustFilePath, getTrusts, getTrusts, getUsageOptions, removeTrust, removeTrust, setAuthTicket, setAuthTicket, setTicketsFilePath, setTrustFilePath, setUsageOptions
-
Methods inherited from interface com.perforce.p4java.server.delegator.IPasswdDelegator
changePassword
-
Methods inherited from interface com.perforce.p4java.server.delegator.IPrintDelegator
getFileContents, getFileContents, getFileContents
-
Methods inherited from interface com.perforce.p4java.server.delegator.IPropertyDelegator
deleteProperty, getProperty, setProperty
-
Methods inherited from interface com.perforce.p4java.server.delegator.IProtectDelegator
createProtectionEntries, getProtectionsTable, updateProtectionEntries
-
Methods inherited from interface com.perforce.p4java.server.delegator.IProtectsDelegator
getProtectionEntries, getProtectionEntries
-
Methods inherited from interface com.perforce.p4java.server.delegator.IReloadDelegator
reload
-
Methods inherited from interface com.perforce.p4java.server.delegator.IRenameClientDelegator
renameClient
-
Methods inherited from interface com.perforce.p4java.server.delegator.IRenameUserDelegator
renameUser
-
Methods inherited from interface com.perforce.p4java.server.delegator.IReposDelegator
getRepos, getRepos, getRepos
-
Methods inherited from interface com.perforce.p4java.server.delegator.IReviewDelegator
getReviewChangelists
-
Methods inherited from interface com.perforce.p4java.server.delegator.IReviewsDelegator
getReviews, getReviews
-
Methods inherited from interface com.perforce.p4java.server.delegator.ISearchDelegator
searchJobs
-
Methods inherited from interface com.perforce.p4java.server.IServer
connect, createUserGroup, deleteUserGroup, disconnect, execInputStringMapCmd, execInputStringStreamingMapComd, execMapCmd, execQuietMapCmd, execQuietStreamCmd, execStreamingMapCommand, getAuthTicket, getAuthTicket, getAuthTicket, getChangelistDiffs, getCharsetName, getCommitFiles, getCurrentClient, getCurrentServerInfo, getGenericCode, getInterchanges, getInterchanges, getKnownCharsets, getProperties, getServerVersion, getServerVersionNumber, getSeverityCode, getStatus, getUserGroups, getUserName, getWorkingDirectory, isCaseSensitive, isConnected, isLoginNotRequired, registerBrowserCallback, registerCallback, registerProgressCallback, registerSSOCallback, setAuthTicket, setCharsetName, setClientPath, setCurrentClient, setCurrentServerInfo, setUserName, setWorkingDirectory, supportsSmartMove, supportsUnicode, updateUserGroup
-
Methods inherited from interface com.perforce.p4java.server.delegator.ISizesDelegator
getFileSizes
-
Methods inherited from interface com.perforce.p4java.server.delegator.ISpecDelegator
getSpec, updateSpec, updateSpecString
-
Methods inherited from interface com.perforce.p4java.server.delegator.IStatDelegator
getStreamIntegrationStatus
-
Methods inherited from interface com.perforce.p4java.server.delegator.IStreamDelegator
createStream, deleteStream, getStream, getStream, updateStream
-
Methods inherited from interface com.perforce.p4java.server.delegator.IStreamlogDelegator
getStreamlog
-
Methods inherited from interface com.perforce.p4java.server.delegator.IStreamsDelegator
getStreams
-
Methods inherited from interface com.perforce.p4java.server.delegator.ITagDelegator
tagFiles, tagFiles
-
Methods inherited from interface com.perforce.p4java.server.delegator.ITriggersDelegator
createTriggerEntries, getTriggerEntries, getTriggersTable, updateTriggerEntries
-
Methods inherited from interface com.perforce.p4java.server.delegator.IUnloadDelegator
unload
-
Methods inherited from interface com.perforce.p4java.server.delegator.IUserDelegator
createUser, createUser, deleteUser, deleteUser, getUser, updateUser, updateUser
-
Methods inherited from interface com.perforce.p4java.server.delegator.IUsersDelegator
getUsers, getUsers
-
Methods inherited from interface com.perforce.p4java.server.delegator.IVerifyDelegator
verifyFiles
-
-
-
-
Method Detail
-
execStreamingMapCommand
void execStreamingMapCommand(java.lang.String cmdName, java.lang.String[] cmdArgs, java.util.Map<java.lang.String,java.lang.Object> inMap, IStreamingCallback callback, int key) throws P4JavaException
Description copied from interface:IServer
Issue a streaming map command to the Perforce server, using an optional map for any input expected by the server (such as label or job specs, etc.).Streaming commands allow users to get each result from a suitably-issued command as it comes in from the server, rather than waiting for the entire command method to complete (and getting the results back as a completed List or Map or whatever).
The results are sent to the user using the IStreamingCallback handleResult method; see the IStreamingCallback Javadoc for details. The payload passed to handleResult is usually the raw map gathered together deep in the RPC protocol layer, and the user is assumed to have the knowledge and technology to be able to parse it and use it suitably in much the same way as a user unpacks or processes the results from the other low-level exec methods like execMapCommand.
NOTE: 'streaming' here has nothing at all to do with Perforce 'streams', which are (or will be) implemented elsewhere.
- Specified by:
execStreamingMapCommand
in interfaceIServer
- Parameters:
cmdName
- the command to be issued; must be non-null, and correspond to a Perforce command recognized by P4Java and defined in CmdSpec.cmdArgs
- the array of command arguments (options and file arguments, etc.) to be sent to the Perforce server. These must be in the form used by the corresponding p4 command line interpreter. Ignored if null.inMap
- an optional map to be sent to the server as standard input, using the Python map format (-G) form. You must remember to issue the relevant command-specific option to enable this if needed.callback
- a non-null IStreamingCallback to be used to process the incoming results.key
- an opaque integer key that is passed to the IStreamingCallback callback methods to identify the action as being associated with this specific call.- Throws:
P4JavaException
- if an error occurs processing this method and its parameters.
-
-