public class TraceChannel<T extends SelectionChannel> extends WrapperSelectionChannel<T>
SelectableChannel
as some framework
classes rely on this down the processing chain.Constructor and Description |
---|
TraceChannel(T wrappedChannel)
Constructor.
|
TraceChannel(T wrappedChannel,
OutputStream traceStream)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
OutputStream |
getTraceStream()
Returns the trace output stream to use if tracing is enabled.
|
getRegistration, isBlocking, setRegistration, toString
close, getWrappedChannel, isOpen
public TraceChannel(T wrappedChannel)
wrappedChannel
- The wrapped channel.public TraceChannel(T wrappedChannel, OutputStream traceStream)
wrappedChannel
- The wrapped channel.traceStream
- The trace stream.public OutputStream getTraceStream()
Copyright © 2005–2019. All rights reserved.