Class NioEndpoint.SendfileData

    • Constructor Summary

      Constructors 
      Constructor Description
      SendfileData​(java.lang.String filename, long pos, long length)
      Creates a new sendfile data object.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fchannel

        protected volatile java.nio.channels.FileChannel fchannel
        The file channel for the sendfile operation.
    • Constructor Detail

      • SendfileData

        public SendfileData​(java.lang.String filename,
                            long pos,
                            long length)
        Creates a new sendfile data object.
        Parameters:
        filename - The file to send
        pos - The starting position
        length - The number of bytes to send