E
- the type of the target entry for I/O
operations.@Immutable public abstract class DecoratingOutputSocket<E extends Entry> extends DelegatingOutputSocket<E>
Implementations should be immutable.
DecoratingInputSocket
Modifier and Type | Field and Description |
---|---|
protected OutputSocket<? extends E> |
socket
The nullable decorated output socket.
|
Modifier | Constructor and Description |
---|---|
protected |
DecoratingOutputSocket() |
protected |
DecoratingOutputSocket(OutputSocket<? extends E> socket) |
Modifier and Type | Method and Description |
---|---|
protected OutputSocket<? extends E> |
socket()
Returns the delegate output socket.
|
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
channel, stream, target
target
equals, hashCode
@Nullable protected OutputSocket<? extends E extends Entry> socket
protected DecoratingOutputSocket()
protected DecoratingOutputSocket(OutputSocket<? extends E> socket)
protected OutputSocket<? extends E> socket() throws IOException
DelegatingOutputSocket
socket
in class DelegatingOutputSocket<E extends Entry>
IOException
- on any I/O error.public String toString()
toString
in class AbstractIoSocket<E extends Entry>
Copyright © 2012–2014 Schlichtherle IT Services. All rights reserved.