@Immutable public final class IoSockets extends Object
IoSockets.public static void copy(InputSocket<?> input, OutputSocket<?> output) throws IOException
created
by the given input socket to an output stream
created by the given output
socket.
This is a high performance implementation which uses a pooled daemon thread to fill a FIFO of pooled buffers which is concurrently flushed by the current thread.
input - an input socket for the input target.output - an output socket for the output target.IOExceptionCopyright © 2012–2015 Schlichtherle IT Services. All rights reserved.