DesktopFileImpl

final class DesktopFileImpl(val fileSystem: DesktopFileSystem, peer: AsynchronousFileChannel, f: File, readOnly: Boolean) extends DesktopWritableFile with CompletionHandler[Integer, Promise[Int]]

A wrapper around java.nio.channels.AsynchronousFileChannel implementing the AsyncWritableByteChannel interface.

A wrapper around java.nio.channels.AsynchronousFileChannel implementing the AsyncWritableByteChannel interface.

trait CompletionHandler[Integer, Promise[Int]]
class Object
trait Matchable
class Any

Value members

Concrete methods

def close(): Future[Unit]
def completed(res: Integer, pr: Promise[Int]): Unit
def failed(e: Throwable, pr: Promise[Int]): Unit
def isOpen: Boolean
def position: Long
def position_=(value: Long): Unit
def read(dst: ByteBuffer): Future[Int]
def remaining: Long
def size: Long
def skip(len: Long): Unit
def write(src: ByteBuffer): Future[Int]

Concrete fields