public class ConnectedState extends InitializedState
| Modifier and Type | Class and Description |
|---|---|
static class |
ConnectedState.Transition
The Class ConnectingState.
|
InitializedState.DisconnectingStateMultiClientState.StateMachineExceptioncause, parent| Modifier | Constructor and Description |
|---|---|
protected |
ConnectedState(InitializedState oldState) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
cleanupClientIfNeeded(FileTransferMechanism client) |
protected void |
connect()
Connect to the FileCatalyst server.
|
protected boolean |
connected()
Returns true if connected
|
void |
getHandledBy(StateHandler handler)
Gets the handled by.
|
java.lang.String |
getHumanReadableName()
Returns a human readable name for the state.
|
protected void |
login(java.util.function.Supplier<ClientCredentials> creds)
Login to the server with the specifed credentials.
|
protected boolean |
synchClient(FileTransferMechanism client) |
addCustomLogHandler, autoDetectConectionModeDownload, autoDetectConectionModeUpload, autoDetectConectionModeUploadAndDownload, initialize, initializeNoUserLogs, isInitializedapplyRemoteFileAttributesToLocalFile, autoDetectConectionMode, autoDetectConectionModeDownload, autoDetectConectionModeUpload, autoDetectConectionModeUploadAndDownload, cd, cdup, delete, deleteAll, deleteAll, deleteAll, disconnect, doJob, download, download, download, download, download, download, download, downloadAs, downloadRange, downloadStream, exists, exists, filesMatch, fileSystemEvents, finish, flushCaches, fsEvents, get, getAllAvailableServerConfigs, getBlastRate, getBlockSize, getCallbackHandler, getClientConnectKey, getClientCredentials, getClientName, getCompFileFilter, getCongCtrlStrategy, getCongestionControlAggression, getConnectivityTestResults, getConnectTimeout, getData, getExtendedReadTimeout, getFileFilter, getIncomingDataPort, getIncomingDataPorts, getIncrementalMode, getLocalWorkingDirectory, getLogger, getLogLocation, getMaxRetries, getMD5, getMD5Checksum, getMd5RateLimit, getMode, getNumBlockReaders, getNumBlockWriters, getNumFTPStreams, getNumPacketProcessors, getNumReceiveSockets, getNumSenderSockets, getNumSenderThreads, getNumThreads, getNumUDPSockets, getObserver, getPacketQueueDepth, getPacketSize, getPostURL, getProgressiveTimeout, getProgressiveTimeoutFilter, getReadBufferSizeKB, getReadTimeout, getRemotePort, getRemoteServer, getRenameExtension, getServerAgentID, getServerConfigurationValue, getServletLocation, getServletMultiplier, getSessionCount, getStartRate, getTransferEmptyDirectories, getTransferRate, getUnitSize, getUserEmailAddress, getUserFullName, getUserPermissions, getVerifyMode, getWaitRetry, getWriteBufferSizeKB, getWriteFileMode, initSession, isAutoResume, isAutoUnzip, isCancelled, isCongestionControlEnabled, isDebug, isDeleteAfterTransfer, isDowngradeModeOnReConnect, isFileCatalystServer, isForceTCPmodeACKs, isLinkEnabledOnServer, isMaintainLastModified, isMaintainPermissions, isOptimizeBlockSize, isProgressiveTransfers, isShowConsoleLog, isTransferEmptyDirectories, isTransferWithTempName, isUDPSupported, isUseCongestionControl, isUseSSL, isVerifyIntegrity, jobPushed, list, list, list, listNoParse, listRecursiveFTPCompatible, listWithInlineParse, listWithInlineParse, mkdir, modtime, noop, preProcess, prms, pushJob, pushJobNoProcessing, pwd, quote, remoteSynchFile, remoteSynchFile, remoteUpload, remoteUpload, rename, resetAutoDetectInfo, resetSession, rmdir, rmdirRecursive, runWorkerClient, sendWeblink, sendWeblink, serverVersion, setAutoResume, setAutoUnzip, setBlockSize, setCallbackHandler, setCancelled, setClientAgentID, setClientConnectKey, setClientCredentials, setClientIdentifier, setClientName, setClientString, setClientSubIdentifier, setClientWorkingPath, setCompFileFilter, setCongCtrlStrategy, setCongestionControlAggression, setCongestionControlEnabled, setConnectTimeout, setDebug, setDeleteAfterTransfer, setDowngradeModeOnReConnect, setExtendedReadTimeout, setFileFilter, setFileTransferPriority, setForceFileOwnershipEnabled, setForceFileOwnershipGroup, setForceFileOwnershipUser, setForceTCPmodeACKs, setIncomingDataPort, setIncomingDataPorts, setIncrementalMode, setIncrementalSizeCheckOnly, setLocalWorkingDirectory, setLogger, setLoggerAttempt, setLogLocation, setLogPrefix, setMaintainLastModified, setMaintainPermissions, setMaxRetries, setMd5RateLimit, setMode, setNumBlockReaders, setNumBlockWriters, setNumFTPStreams, setNumPacketProcessors, setNumReceiveSockets, setNumSenderSockets, setNumSenderThreads, setNumThreads, setNumUDPSockets, setObserver, setOptimizeBlockSize, setPacketQueueDepth, setPacketSize, setPostTaskSentData, setPostURL, setProgressiveTimeout, setProgressiveTimeoutFilter, setProgressiveTransfers, setReadBufferSizeKB, setReadTimeout, setRemotePort, setRemoteServer, setRenameExtension, setReport, setServletLocation, setServletLocation, setServletMultiplier, setSessionID, setShowConsoleLog, setSSLSocketProducer, setStartRate, setTargetRate, setTaskID, setTransactionID, setTransferEmptyDirectories, setTransferMode, setTransferToServerOverride, setTransferWithTempName, setTransferWithTempName, setUnitSize, setUseCongestionControl, setUserEmailAddress, setUserFullName, setUserRelativePriority, setUseSSL, setVerifyIntegrity, setVerifyMode, setWaitRetry, setWriteBufferSizeKB, setWriteFileMode, size, start, stopSpeedTesting, streamWithInlineParse, streamWithInlineParse, testApproximateDownloadSpeed, testApproximateUploadSpeed, testMaximumDownloadSpeed, testMaximumUploadSpeed, testUDPACKs, testWriteSpeed, testWriteSpeed, transferJobStream, updateServerOverrides, upload, upload, upload, upload, upload, upload, upload, uploadAs, uploadAs, uploadList, uploadRange, uploadStream, willTransferWorkcompleteClientFailure, deleteAll, equals, getInitialState, getNextSessionID, getOldState, getParent, getReport, getTargetRateSlice, handleFailedTransfer, handleSuccessfulTransfer, informTransferFinished, informTransferStart, invalidState, isBadState, isCancelling, isIdle, isIncrementalSizeCheckOnly, isLoggedIn, isTransferComplete, notImplemented, resetBadState, sendEmail, setPostProcessorOverrides, synchClients, synchSpecificTypes, toString, transferComplete, transferStartedprotected ConnectedState(InitializedState oldState)
public java.lang.String getHumanReadableName()
MultiClientStategetHumanReadableName in class InitializedStatepublic void getHandledBy(StateHandler handler)
MultiClientStategetHandledBy in class InitializedStatehandler - the handlerprotected boolean connected()
MultiClientStateconnected in class MultiClientStateprotected void login(java.util.function.Supplier<ClientCredentials> creds) throws FCException, java.io.IOException
MultiClientStatelogin in class InitializedStatecreds - The Credentials with which to authenticateFCException - If authentication failsjava.io.IOException - If a timeout, or other I/O error occursprotected void connect()
throws FCException,
java.io.IOException
MultiClientStateconnect in class InitializedStateFCException - If an error in the FC protocol occursjava.io.IOException - If a timeout, or other IO error occursprotected void cleanupClientIfNeeded(FileTransferMechanism client) throws FCException, java.io.IOException
cleanupClientIfNeeded in class MultiClientStateFCExceptionjava.io.IOExceptionprotected boolean synchClient(FileTransferMechanism client) throws FCException, java.io.IOException
synchClient in class InitializedStateFCExceptionjava.io.IOException