| Package | Description |
|---|---|
| net.openhft.chronicle.network | |
| net.openhft.chronicle.network.connection |
| Modifier and Type | Method and Description |
|---|---|
@Nullable ChronicleSocketChannel |
AlwaysStartOnPrimaryConnectionStrategy.connect(@NotNull String name,
@NotNull SocketAddressSupplier socketAddressSupplier,
boolean didLogIn,
@Nullable FatalFailureMonitor fatalFailureMonitor) |
ChronicleSocketChannel |
ConnectionStrategy.connect(@NotNull String name,
@NotNull SocketAddressSupplier socketAddressSupplier,
boolean didLogIn,
@NotNull FatalFailureMonitor fatalFailureMonitor)
Connects and returns a new SocketChannel.
|
| Modifier and Type | Method and Description |
|---|---|
static @NotNull SocketAddressSupplier |
SocketAddressSupplier.uri(String connectURI)
use this method if you only want to connect to a single server
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable ChronicleSocketChannel |
FatalFailureConnectionStrategy.connect(@NotNull String name,
@NotNull SocketAddressSupplier socketAddressSupplier,
boolean didLogIn,
@Nullable FatalFailureMonitor fatalFailureMonitor) |
| Constructor and Description |
|---|
TcpChannelHub(@Nullable SessionProvider sessionProvider,
@NotNull net.openhft.chronicle.core.threads.EventLoop eventLoop,
@NotNull net.openhft.chronicle.wire.WireType wireType,
@NotNull String name,
@NotNull SocketAddressSupplier socketAddressSupplier,
boolean shouldSendCloseMessage,
@Nullable ClientConnectionMonitor clientConnectionMonitor,
@NotNull net.openhft.chronicle.core.threads.HandlerPriority monitor,
@NotNull ConnectionStrategy connectionStrategy)
Deprecated.
|
TcpChannelHub(@Nullable SessionProvider sessionProvider,
@NotNull net.openhft.chronicle.core.threads.EventLoop eventLoop,
@NotNull net.openhft.chronicle.wire.WireType wireType,
@NotNull String name,
@NotNull SocketAddressSupplier socketAddressSupplier,
boolean shouldSendCloseMessage,
@Nullable ClientConnectionMonitor clientConnectionMonitor,
@NotNull net.openhft.chronicle.core.threads.HandlerPriority monitor,
@NotNull ConnectionStrategy connectionStrategy,
@Nullable Supplier<net.openhft.chronicle.threads.Pauser> pauserSupplier)
Deprecated.
|
Copyright © 2023. All rights reserved.