Interface OutputListener

  • All Known Implementing Classes:
    BlockingConnection

    public interface OutputListener
    An OutputListener is responsible to write bytes to the network. It is set at a ProtocolOutputHandler and implemented by the Network Swiftlet.
    Author:
    IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
    See Also:
    ProtocolOutputHandler
    • Method Detail

      • performWrite

        int performWrite​(byte[] b,
                         int offset,
                         int len)
                  throws java.io.IOException
        Performs the write to the network.
        Parameters:
        b - byte array.
        offset - offset.
        len - length.
        Returns:
        number of bytes written.
        Throws:
        java.io.IOException - on error.