public final class LocalClientTransport extends Object implements io.rsocket.transport.ClientTransport
ClientTransport that connects to a ServerTransport in the
same JVM.| Modifier and Type | Method and Description |
|---|---|
Mono<io.rsocket.DuplexConnection> |
connect() |
static LocalClientTransport |
create(String name)
Creates a new instance.
|
public static LocalClientTransport create(String name)
name - the name of the ServerTransport instance to connect toNullPointerException - if name is nullpublic Mono<io.rsocket.DuplexConnection> connect()
connect in interface io.rsocket.transport.ClientTransport