public class IOClientFileUploadConnection<C extends ClientContext> extends ClientFileUploadConnection<C>
TRANSFER_BUFF_SIZE| Constructor and Description |
|---|
IOClientFileUploadConnection(C clientCtx,
FileTransferJob job,
StreamWrapper streamWrapper,
FileTransferClientTask transferTask) |
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnection()
Closes all socket streams as well as the socket itself.
|
protected java.io.InputStream |
getReceiveStream() |
protected java.io.OutputStream |
getSendStream() |
protected void |
openConnection(ServerHost host,
StreamWrapper streamWrapper) |
protected java.lang.Object |
readObject() |
protected void |
shutdownInput() |
protected void |
shutdownOutput() |
protected void |
writeObject(java.lang.Object obj) |
execute, getClientFileInfo, getTransferJobcheckCancelled, fireReadProgress, getClientFile, getConnectionInfo, getFileLength, getServerFile, getServerFileInfo, isTransferZipped, setFileLength, setProgressingTask, startTransfer, toString, wasCancelled, wasFoundZippedOnServergetClientConfig, getClientContextgetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetClientContextpublic IOClientFileUploadConnection(C clientCtx, FileTransferJob job, StreamWrapper streamWrapper, FileTransferClientTask transferTask) throws java.lang.Exception
java.lang.Exceptionprotected void openConnection(ServerHost host, StreamWrapper streamWrapper) throws java.lang.Exception
openConnection in class ClientTransferConnection<C extends ClientContext>java.lang.Exceptionprotected java.io.OutputStream getSendStream()
getSendStream in class ClientTransferConnection<C extends ClientContext>protected java.io.InputStream getReceiveStream()
getReceiveStream in class ClientTransferConnection<C extends ClientContext>protected void shutdownInput()
throws java.io.IOException
shutdownInput in class ClientTransferConnection<C extends ClientContext>java.io.IOExceptionprotected void shutdownOutput()
throws java.io.IOException
shutdownOutput in class ClientTransferConnection<C extends ClientContext>java.io.IOExceptionprotected void writeObject(java.lang.Object obj)
throws java.lang.Exception
writeObject in class ClientTransferConnection<C extends ClientContext>java.lang.Exceptionprotected java.lang.Object readObject()
throws java.lang.Exception
readObject in class ClientTransferConnection<C extends ClientContext>java.lang.Exceptionpublic void closeConnection()
ClientTransferConnectioncloseConnection in class ClientTransferConnection<C extends ClientContext>Copyright © 2014 EsprIT-Systems. All Rights Reserved.