|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.io.Tcp.WriteCommand akka.io.Tcp.CompoundWrite
public static class Tcp.CompoundWrite
A write command which aggregates two other write commands. Using this construct
you can chain a number of Tcp.Write
and/or Tcp.WriteFile
commands together in a way
that allows them to be handled as a single write which gets written out to the
network as quickly as possible.
If the sub commands contain ack
requests they will be honored as soon as the
respective write has been written completely.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface scala.collection.TraversableLike |
---|
scala.collection.TraversableLike.WithFilter |
Nested classes/interfaces inherited from interface scala.collection.TraversableOnce |
---|
scala.collection.TraversableOnce.BufferedCanBuildFrom<A,CC extends scala.collection.TraversableOnce<java.lang.Object>>, scala.collection.TraversableOnce.FlattenOps<A>, scala.collection.TraversableOnce.ForceImplicitAmbiguity, scala.collection.TraversableOnce.MonadOps<A>, scala.collection.TraversableOnce.OnceCanBuildFrom<A> |
Constructor Summary | |
---|---|
Tcp.CompoundWrite(Tcp.SimpleWriteCommand head,
Tcp.WriteCommand tailCommand)
|
Method Summary | |
---|---|
Tcp.SimpleWriteCommand |
head()
|
scala.collection.Iterator<Tcp.SimpleWriteCommand> |
iterator()
|
Tcp.WriteCommand |
tailCommand()
|
Methods inherited from class akka.io.Tcp.WriteCommand |
---|
prepend, prepend |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.collection.immutable.Iterable |
---|
companion, parCombiner, seq |
Methods inherited from interface scala.collection.generic.GenericTraversableTemplate |
---|
flatten, foreach, genericBuilder, isEmpty, transpose, unzip, unzip3 |
Methods inherited from interface scala.collection.IterableLike |
---|
canEqual, copyToArray, drop, dropRight, exists, find, foldRight, forall, foreach, grouped, isEmpty, reduceRight, sameElements, slice, sliding, sliding, take, takeRight, takeWhile, thisCollection, toCollection, toIterable, toIterator, toStream, view, view, zip, zipAll, zipWithIndex |
Methods inherited from interface scala.Equals |
---|
equals |
Methods inherited from interface scala.collection.TraversableLike |
---|
$plus$plus, $plus$plus$colon, $plus$plus$colon, collect, dropWhile, filter, filterNot, flatMap, groupBy, hasDefiniteSize, headOption, init, inits, isTraversableAgain, last, lastOption, map, newBuilder, partition, repr, scan, scanLeft, scanRight, sliceWithKnownBound, sliceWithKnownDelta, span, splitAt, stringPrefix, tail, tails, to, toString, toTraversable, withFilter |
Methods inherited from interface scala.collection.TraversableOnce |
---|
$colon$bslash, $div$colon, addString, addString, addString, aggregate, collectFirst, copyToArray, copyToArray, copyToBuffer, count, fold, foldLeft, max, maxBy, min, minBy, mkString, mkString, mkString, nonEmpty, product, reduce, reduceLeft, reduceLeftOption, reduceOption, reduceRightOption, reversed, size, sum, toArray, toBuffer, toIndexedSeq, toList, toMap, toSeq, toSet, toVector |
Methods inherited from interface scala.collection.GenTraversableLike |
---|
size |
Methods inherited from interface scala.collection.Parallelizable |
---|
par |
Methods inherited from interface scala.Product |
---|
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface akka.io.Tcp.Command |
---|
failureMessage |
Constructor Detail |
---|
public Tcp.CompoundWrite(Tcp.SimpleWriteCommand head, Tcp.WriteCommand tailCommand)
Method Detail |
---|
public Tcp.SimpleWriteCommand head()
head
in interface scala.collection.generic.GenericTraversableTemplate<Tcp.SimpleWriteCommand,scala.collection.GenTraversable>
head
in interface scala.collection.GenTraversableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
head
in interface scala.collection.IterableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
head
in interface scala.collection.TraversableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
public Tcp.WriteCommand tailCommand()
public scala.collection.Iterator<Tcp.SimpleWriteCommand> iterator()
iterator
in interface scala.collection.GenIterableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
iterator
in interface scala.collection.IterableLike<Tcp.SimpleWriteCommand,scala.collection.Iterable<Tcp.SimpleWriteCommand>>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |