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