Package com.nt.udc.oi.node.geneva
Class GenevaOIFtpPusher
java.lang.Object
java.lang.Thread
com.nt.udc.ndk.util.AbstractOIFtpPusher
com.nt.udc.oi.node.geneva.GenevaOIFtpPusher
- All Implemented Interfaces:
GenevaFieldsIfc
,Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler
-
Field Summary
Fields inherited from class com.nt.udc.ndk.util.AbstractOIFtpPusher
bFailed, DEFAULT_FTP_PORT, DEFAULT_SFTP_PORT, delay, errMesg, filesToFTP, ftpClient, ftpDirectory, ftpExtension, ftpFileType, ftpFilter, ftpHost, ftpPasswd, ftpPort, ftpRunning, ftpTimeInterval, ftpUser, hostsFile, interruptDelay, localDirectory, logger, oinode, passiveMode, sftpUsed, SSH_KNOWN_HOSTS_FILE
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Fields inherited from interface com.nt.udc.oi.node.geneva.GenevaFieldsIfc
AUDIT_1_FTR, AUDIT_2_FTR, CHAR_FTR, CHAR_SET_HDR, CHECKSUM_FTR, CONTROL_DATA_EXT, END_FTR, EOF_FTR, ERR_EXT, FILE_GRP_NUM_HDR, FILE_IN_GRP_NUM_HDR, FOOTER_FTR, FORMAT_HDR, GENEVA_HDR, LINES_FTR, SEC_CHECKSUM_FTR, SOURCE_HDR, SUBTYPE_HDR, TAG_HDR, TOT_FILES_IN_GRP_HDR, TYPE_HDR
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
transfer data and control file to geneva servervoid
void
Methods inherited from class com.nt.udc.ndk.util.AbstractOIFtpPusher
enablePassiveMode, getFileMode, getFiles, getFtpDirectory, getFtpExtension, getFtpHost, getFtpLogin, getFtpPassword, getFtpPort, getFtpTimeInterval, getLocalDirectory, isHealthy, run, setAsciiFileMode, setBinaryFileMode, setFiles, setFtpDirectory, setFtpExtension, setFtpHost, setFtpLogin, setFtpPassword, setFtpPort, setFtpTimeInterval, setLocalDirectory, shutdown
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Constructor Details
-
GenevaOIFtpPusher
public GenevaOIFtpPusher(LoggerIfc lgr, String localdir, String ftphost, String ftpuser, String ftppasswd, String ftpdir, String ftpext) throws NodeStartException - Throws:
NodeStartException
-
-
Method Details
-
doTransfer
transfer data and control file to geneva server- Specified by:
doTransfer
in classAbstractOIFtpPusher
- Throws:
IOException
-
getControlFile
-
setControlFile
-
setFiles
-