public static class TransportTest.TransportPair<T,S extends io.rsocket.Closeable> extends Object implements Disposable
Disposable.Composite, Disposable.Swap| Constructor and Description |
|---|
TransportPair(Supplier<T> addressSupplier,
TriFunction<T,S,ByteBufAllocator,io.rsocket.transport.ClientTransport> clientTransportSupplier,
BiFunction<T,ByteBufAllocator,io.rsocket.transport.ServerTransport<S>> serverTransportSupplier) |
TransportPair(Supplier<T> addressSupplier,
TriFunction<T,S,ByteBufAllocator,io.rsocket.transport.ClientTransport> clientTransportSupplier,
BiFunction<T,ByteBufAllocator,io.rsocket.transport.ServerTransport<S>> serverTransportSupplier,
boolean withRandomFragmentation) |
TransportPair(Supplier<T> addressSupplier,
TriFunction<T,S,ByteBufAllocator,io.rsocket.transport.ClientTransport> clientTransportSupplier,
BiFunction<T,ByteBufAllocator,io.rsocket.transport.ServerTransport<S>> serverTransportSupplier,
boolean withRandomFragmentation,
boolean withResumability) |
| Modifier and Type | Method and Description |
|---|---|
void |
awaitClosed(Duration timeout) |
void |
dispose() |
String |
expectedPayloadData() |
String |
expectedPayloadMetadata() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisDisposedpublic TransportPair(Supplier<T> addressSupplier, TriFunction<T,S,ByteBufAllocator,io.rsocket.transport.ClientTransport> clientTransportSupplier, BiFunction<T,ByteBufAllocator,io.rsocket.transport.ServerTransport<S>> serverTransportSupplier)
public TransportPair(Supplier<T> addressSupplier, TriFunction<T,S,ByteBufAllocator,io.rsocket.transport.ClientTransport> clientTransportSupplier, BiFunction<T,ByteBufAllocator,io.rsocket.transport.ServerTransport<S>> serverTransportSupplier, boolean withRandomFragmentation)
public TransportPair(Supplier<T> addressSupplier, TriFunction<T,S,ByteBufAllocator,io.rsocket.transport.ClientTransport> clientTransportSupplier, BiFunction<T,ByteBufAllocator,io.rsocket.transport.ServerTransport<S>> serverTransportSupplier, boolean withRandomFragmentation, boolean withResumability)
public void dispose()
dispose in interface Disposablepublic String expectedPayloadData()
public String expectedPayloadMetadata()
public void awaitClosed(Duration timeout)