Packages

c

akka.io.Tcp

WriteFile

final case class WriteFile(filePath: String, position: Long, count: Long, ack: Event) extends SimpleWriteCommand with Product with Serializable

Annotations
@deprecated
Deprecated

(Since version 2.5.10) Use WritePath instead

Source
Tcp.scala
See also

WritePath

Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. WriteFile
  2. Serializable
  3. Product
  4. Equals
  5. SimpleWriteCommand
  6. WriteCommand
  7. Command
  8. HasFailureMessage
  9. Message
  10. NoSerializationVerificationNeeded
  11. AnyRef
  12. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new WriteFile(filePath: String, position: Long, count: Long, ack: Event)

Value Members

  1. def ++:(writes: Iterable[WriteCommand]): WriteCommand

    Prepends this command with a number of other writes.

    Prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially created CompoundWrite.

    Definition Classes
    WriteCommand
  2. def +:(other: SimpleWriteCommand): CompoundWrite

    Prepends this command with another Write or WriteFile to form a CompoundWrite.

    Prepends this command with another Write or WriteFile to form a CompoundWrite.

    Definition Classes
    WriteCommand
  3. val ack: Event

    The acknowledgment token associated with this write command.

    The acknowledgment token associated with this write command.

    Definition Classes
    WriteFileSimpleWriteCommand
  4. def append(that: WriteCommand): CompoundWrite

    Java API: appends this command with another WriteCommand to form a CompoundWrite.

    Java API: appends this command with another WriteCommand to form a CompoundWrite.

    Definition Classes
    SimpleWriteCommand
  5. val count: Long
  6. def failureMessage: CommandFailed
    Definition Classes
    Command → HasFailureMessage
  7. val filePath: String
  8. val position: Long
  9. def prepend(writes: Iterable[WriteCommand]): WriteCommand

    Java API: prepends this command with a number of other writes.

    Java API: prepends this command with a number of other writes. The first element of the given Iterable becomes the first sub write of a potentially created CompoundWrite.

    Definition Classes
    WriteCommand
  10. def prepend(that: SimpleWriteCommand): CompoundWrite

    Java API: prepends this command with another Write or WriteFile to form a CompoundWrite.

    Java API: prepends this command with another Write or WriteFile to form a CompoundWrite.

    Definition Classes
    WriteCommand
  11. def productElementNames: Iterator[String]
    Definition Classes
    Product
  12. def wantsAck: Boolean

    An acknowledgment is only sent if this write command “wants an ack”, which is equivalent to the #ack token not being a of type NoAck.

    An acknowledgment is only sent if this write command “wants an ack”, which is equivalent to the #ack token not being a of type NoAck.

    Definition Classes
    SimpleWriteCommand