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, getTransferJob
checkCancelled, fireReadProgress, getClientFile, getConnectionInfo, getFileLength, getServerFile, getServerFileInfo, isTransferZipped, setFileLength, setProgressingTask, startTransfer, toString, wasCancelled, wasFoundZippedOnServer
getClientConfig, getClientContext
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getClientContext
public IOClientFileUploadConnection(C clientCtx, FileTransferJob job, StreamWrapper streamWrapper, FileTransferClientTask transferTask) throws java.lang.Exception
java.lang.Exception
protected void openConnection(ServerHost host, StreamWrapper streamWrapper) throws java.lang.Exception
openConnection
in class ClientTransferConnection<C extends ClientContext>
java.lang.Exception
protected 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.IOException
protected void shutdownOutput() throws java.io.IOException
shutdownOutput
in class ClientTransferConnection<C extends ClientContext>
java.io.IOException
protected void writeObject(java.lang.Object obj) throws java.lang.Exception
writeObject
in class ClientTransferConnection<C extends ClientContext>
java.lang.Exception
protected java.lang.Object readObject() throws java.lang.Exception
readObject
in class ClientTransferConnection<C extends ClientContext>
java.lang.Exception
public void closeConnection()
ClientTransferConnection
closeConnection
in class ClientTransferConnection<C extends ClientContext>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.