Interface ByteStringSinkProbe
public interface ByteStringSinkProbe
INTERNAL API
-
Method Summary
Modifier and TypeMethodDescriptionvoid
cancel()
void
int
org.apache.pekko.util.ByteString
expectBytes
(int length) void
expectBytes
(org.apache.pekko.util.ByteString expected) void
void
expectError
(Throwable cause) void
void
expectNoBytes
(scala.concurrent.duration.FiniteDuration timeout) void
void
expectUtf8EncodedString
(String string) void
request
(long n) org.apache.pekko.stream.scaladsl.Sink<org.apache.pekko.util.ByteString,
org.apache.pekko.NotUsed> sink()
<T> T
within
(scala.concurrent.duration.FiniteDuration max, scala.Function0<T> f)
-
Method Details
-
sink
org.apache.pekko.stream.scaladsl.Sink<org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed> sink() -
expectByte
int expectByte() -
expectBytes
org.apache.pekko.util.ByteString expectBytes(int length) -
expectBytes
void expectBytes(org.apache.pekko.util.ByteString expected) -
expectUtf8EncodedString
-
expectNoBytes
void expectNoBytes() -
expectNoBytes
void expectNoBytes(scala.concurrent.duration.FiniteDuration timeout) -
expectSubscriptionAndComplete
void expectSubscriptionAndComplete() -
expectComplete
void expectComplete() -
expectError
Throwable expectError() -
expectError
-
ensureSubscription
void ensureSubscription() -
request
void request(long n) -
cancel
void cancel() -
within
<T> T within(scala.concurrent.duration.FiniteDuration max, scala.Function0<T> f)
-