Interface ChunkListener

  • All Known Subinterfaces:
    IntraVMServerEndpoint
    All Known Implementing Classes:
    BlockingConnection, IntraVMConnection

    public interface ChunkListener
    An ChunkListener is responsible to pass a chunk from the ProtocolInputHandler to a Swiftlet. It is set at a ProtocolInputHandler and implemented by the Network Swiftlet.
    Author:
    IIT GmbH, Bremen/Germany, Copyright (c) 2000-2002, All Rights Reserved
    See Also:
    ProtocolInputHandler
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void chunkCompleted​(byte[] b, int offset, int len)
      Called from a ProtocolInputHandler when a protocol-chunk has been completed.
    • Method Detail

      • chunkCompleted

        void chunkCompleted​(byte[] b,
                            int offset,
                            int len)
        Called from a ProtocolInputHandler when a protocol-chunk has been completed.
        Parameters:
        b - byte array.
        offset - offset
        len - length