Package net.i2p.BOB

Class TCPio

  • All Implemented Interfaces:
    Runnable

    public class TCPio
    extends Object
    implements Runnable
    Shove data from one stream to the other.
    Author:
    sponge
    • Method Detail

      • run

        public void run()
        Copy from source to destination... and yes, we are totally OK to block here on writes, The OS has buffers, and I intend to use them. We send an interrupt signal to the threadgroup to unwedge any pending writes.
        Specified by:
        run in interface Runnable