Package akka.io
Class Tcp.Write
- java.lang.Object
-
- akka.io.Tcp.WriteCommand
-
- akka.io.Tcp.SimpleWriteCommand
-
- akka.io.Tcp.Write
-
- All Implemented Interfaces:
NoSerializationVerificationNeeded,SelectionHandler.HasFailureMessage,Tcp.Command,Tcp.Message,java.io.Serializable,scala.Equals,scala.Product,scala.Serializable
- Enclosing class:
- Tcp
public static final class Tcp.Write extends Tcp.SimpleWriteCommand implements scala.Product, scala.Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Write(ByteString data, Tcp.Event ack)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tcp.Eventack()The acknowledgment token associated with this write command.booleancanEqual(java.lang.Object x$1)Tcp.Writecopy(ByteString data, Tcp.Event ack)ByteStringcopy$default$1()Tcp.Eventcopy$default$2()ByteStringdata()booleanequals(java.lang.Object x$1)inthashCode()intproductArity()java.lang.ObjectproductElement(int x$1)scala.collection.Iterator<java.lang.Object>productIterator()java.lang.StringproductPrefix()java.lang.StringtoString()-
Methods inherited from class akka.io.Tcp.SimpleWriteCommand
append, wantsAck
-
Methods inherited from class akka.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 akka.io.Tcp.Command
failureMessage
-
-
-
-
Constructor Detail
-
Write
public Write(ByteString data, Tcp.Event ack)
-
-
Method Detail
-
data
public ByteString data()
-
ack
public Tcp.Event ack()
Description copied from class:Tcp.SimpleWriteCommandThe acknowledgment token associated with this write command.- Specified by:
ackin classTcp.SimpleWriteCommand- Returns:
- (undocumented)
-
copy
public Tcp.Write copy(ByteString data, Tcp.Event ack)
-
copy$default$1
public ByteString copy$default$1()
-
copy$default$2
public Tcp.Event copy$default$2()
-
productPrefix
public java.lang.String productPrefix()
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()
- Specified by:
productArityin interfacescala.Product
-
productElement
public java.lang.Object productElement(int x$1)
- Specified by:
productElementin interfacescala.Product
-
productIterator
public scala.collection.Iterator<java.lang.Object> productIterator()
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
public boolean canEqual(java.lang.Object x$1)
- Specified by:
canEqualin interfacescala.Equals
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object x$1)
- Specified by:
equalsin interfacescala.Equals- Overrides:
equalsin classjava.lang.Object
-
-