public class AlwaysStartOnPrimaryConnectionStrategy extends Object implements ConnectionStrategy
| Constructor and Description |
|---|
AlwaysStartOnPrimaryConnectionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
SocketChannel |
connect(String name,
SocketAddressSupplier socketAddressSupplier,
NetworkStatsListener<? extends NetworkContext> networkStatsListener,
boolean hasLoggedInPreviously) |
void |
readMarshallable(net.openhft.chronicle.wire.WireIn wire) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitopenSocketChannelpublic AlwaysStartOnPrimaryConnectionStrategy()
public void readMarshallable(@NotNull
net.openhft.chronicle.wire.WireIn wire)
throws net.openhft.chronicle.core.io.IORuntimeException
readMarshallable in interface net.openhft.chronicle.wire.MarshallablereadMarshallable in interface net.openhft.chronicle.wire.ReadMarshallablenet.openhft.chronicle.core.io.IORuntimeException@Nullable public SocketChannel connect(String name, SocketAddressSupplier socketAddressSupplier, @NotNull NetworkStatsListener<? extends NetworkContext> networkStatsListener, boolean hasLoggedInPreviously)
connect in interface ConnectionStrategyCopyright © 2017. All rights reserved.