Interface ByteStringSinkProbe
public interface ByteStringSinkProbe
INTERNAL API
-
Method Summary
Modifier and TypeMethodDescriptionvoidcancel()voidintorg.apache.pekko.util.ByteStringexpectBytes(int length) voidexpectBytes(org.apache.pekko.util.ByteString expected) voidvoidexpectError(Throwable cause) voidvoidexpectNoBytes(scala.concurrent.duration.FiniteDuration timeout) voidvoidexpectUtf8EncodedString(String string) voidrequest(long n) org.apache.pekko.stream.scaladsl.Sink<org.apache.pekko.util.ByteString,org.apache.pekko.NotUsed> sink()<T> Twithin(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)
-