E - The type of the local target.@NotThreadSafe public final class LazyOutputSocket<E extends Entry> extends DecoratingOutputSocket<E>
LazyInputSocket| Modifier and Type | Class and Description |
|---|---|
private class |
LazyOutputSocket.ProxyOutputStream |
| Constructor and Description |
|---|
LazyOutputSocket(OutputSocket<? extends E> output) |
| Modifier and Type | Method and Description |
|---|---|
OutputStream |
newOutputStream()
Returns a proxy output stream which acquires its underlying output
stream upon the first read access.
|
getDelegate, toStringgetBoundSocket, getLocalTarget, getPeerTarget, newSeekableByteChannelbind, connectpublic LazyOutputSocket(@NonNull OutputSocket<? extends E> output)
public OutputStream newOutputStream() throws IOException
newOutputStream in class DelegatingOutputSocket<E extends Entry>IOException - on any I/O error.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.