Package org.apache.pekko.io
Class Tcp.WriteFile
- java.lang.Object
-
- org.apache.pekko.io.Tcp.WriteCommand
-
- org.apache.pekko.io.Tcp.SimpleWriteCommand
-
- org.apache.pekko.io.Tcp.WriteFile
-
- All Implemented Interfaces:
java.io.Serializable
,NoSerializationVerificationNeeded
,org.apache.pekko.io.SelectionHandler.HasFailureMessage
,Tcp.Command
,Tcp.Message
,scala.Equals
,scala.Product
- Enclosing class:
- Tcp
public static final class Tcp.WriteFile extends Tcp.SimpleWriteCommand implements scala.Product, java.io.Serializable
Deprecated.Use WritePath instead. Since Akka 2.5.10.- See Also:
Tcp.WritePath
, Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Tcp.Event
ack()
Deprecated.The acknowledgment token associated with this write command.boolean
canEqual(java.lang.Object x$1)
Deprecated.Tcp.WriteFile
copy(java.lang.String filePath, long position, long count, Tcp.Event ack)
Deprecated.java.lang.String
copy$default$1()
Deprecated.long
copy$default$2()
Deprecated.long
copy$default$3()
Deprecated.Tcp.Event
copy$default$4()
Deprecated.long
count()
Deprecated.boolean
equals(java.lang.Object x$1)
Deprecated.java.lang.String
filePath()
Deprecated.int
hashCode()
Deprecated.long
position()
Deprecated.int
productArity()
Deprecated.java.lang.Object
productElement(int x$1)
Deprecated.java.lang.String
productElementName(int x$1)
Deprecated.scala.collection.Iterator<java.lang.Object>
productIterator()
Deprecated.java.lang.String
productPrefix()
Deprecated.java.lang.String
toString()
Deprecated.-
Methods inherited from class org.apache.pekko.io.Tcp.SimpleWriteCommand
append, wantsAck
-
Methods inherited from class org.apache.pekko.io.Tcp.WriteCommand
$plus$colon, $plus$plus$colon, prepend, prepend
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.pekko.io.Tcp.Command
failureMessage
-
-
-
-
Constructor Detail
-
WriteFile
public WriteFile(java.lang.String filePath, long position, long count, Tcp.Event ack)
Deprecated.
-
-
Method Detail
-
filePath
public java.lang.String filePath()
Deprecated.
-
position
public long position()
Deprecated.
-
count
public long count()
Deprecated.
-
ack
public Tcp.Event ack()
Deprecated.Description copied from class:Tcp.SimpleWriteCommand
The acknowledgment token associated with this write command.- Specified by:
ack
in classTcp.SimpleWriteCommand
-
copy
public Tcp.WriteFile copy(java.lang.String filePath, long position, long count, Tcp.Event ack)
Deprecated.
-
copy$default$1
public java.lang.String copy$default$1()
Deprecated.
-
copy$default$2
public long copy$default$2()
Deprecated.
-
copy$default$3
public long copy$default$3()
Deprecated.
-
copy$default$4
public Tcp.Event copy$default$4()
Deprecated.
-
productPrefix
public java.lang.String productPrefix()
Deprecated.- Specified by:
productPrefix
in interfacescala.Product
-
productArity
public int productArity()
Deprecated.- Specified by:
productArity
in interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
Deprecated.- Specified by:
productElement
in interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
Deprecated.- Specified by:
productIterator
in interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
Deprecated.- Specified by:
canEqual
in interfacescala.Equals
-
productElementName
public java.lang.String productElementName(int x$1)
Deprecated.- Specified by:
productElementName
in interfacescala.Product
-
hashCode
public int hashCode()
Deprecated.- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
Deprecated.- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
Deprecated.- Specified by:
equals
in interfacescala.Equals
- Overrides:
equals
in classjava.lang.Object
-
-