Class WritableTraceChannel

    • Constructor Detail

      • WritableTraceChannel

        public WritableTraceChannel​(WritableSelectionChannel wrappedChannel)
        Deprecated.
        Constructor.
        Parameters:
        wrappedChannel - The wrapped channel.
      • WritableTraceChannel

        public WritableTraceChannel​(WritableSelectionChannel wrappedChannel,
                                    java.io.OutputStream traceStream)
        Deprecated.
        Constructor.
        Parameters:
        wrappedChannel - The wrapped channel.
        traceStream - The trace stream.
    • Method Detail

      • write

        public int write​(java.nio.ByteBuffer src)
                  throws java.io.IOException
        Deprecated.
        Writes the available byte from the wrapped channel to the destination buffer while writing them to the console.
        Specified by:
        write in interface java.nio.channels.WritableByteChannel
        Parameters:
        src - The source buffer.
        Returns:
        The number of bytes written.
        Throws:
        java.io.IOException