public class VanillaNetworkContext<T extends VanillaNetworkContext> extends Object implements NetworkContext<T>, net.openhft.chronicle.core.io.Closeable
| Constructor and Description |
|---|
VanillaNetworkContext() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitacquireConnectionListener, addConnectionListener, isUncheckedpublic SocketChannel socketChannel()
socketChannel in interface NetworkContext<T extends VanillaNetworkContext>@NotNull public T socketChannel(SocketChannel socketChannel)
socketChannel in interface NetworkContext<T extends VanillaNetworkContext>public void onHandlerChanged(TcpHandler handler)
onHandlerChanged in interface NetworkContext<T extends VanillaNetworkContext>@NotNull public T isAcceptor(boolean isAcceptor)
isAcceptor in interface NetworkContext<T extends VanillaNetworkContext>isAcceptor - true if its a server socket, false if its a clientpublic boolean isAcceptor()
isAcceptor in interface NetworkContext<T extends VanillaNetworkContext>public WireOutPublisher wireOutPublisher()
wireOutPublisher in interface NetworkContext<T extends VanillaNetworkContext>public void wireOutPublisher(WireOutPublisher wireOutPublisher)
wireOutPublisher in interface NetworkContext<T extends VanillaNetworkContext>public net.openhft.chronicle.wire.WireType wireType()
wireType in interface NetworkContext<T extends VanillaNetworkContext>@NotNull public T wireType(net.openhft.chronicle.wire.WireType wireType)
wireType in interface NetworkContext<T extends VanillaNetworkContext>public SessionDetailsProvider sessionDetails()
sessionDetails in interface NetworkContext<T extends VanillaNetworkContext>@NotNull public T sessionDetails(SessionDetailsProvider sessionDetails)
sessionDetails in interface NetworkContext<T extends VanillaNetworkContext>@Nullable public TerminationEventHandler terminationEventHandler()
terminationEventHandler in interface NetworkContext<T extends VanillaNetworkContext>public void terminationEventHandler(@Nullable
TerminationEventHandler terminationEventHandler)
terminationEventHandler in interface NetworkContext<T extends VanillaNetworkContext>public T heartbeatTimeoutMs(long heartbeatTimeoutMs)
heartbeatTimeoutMs in interface NetworkContext<T extends VanillaNetworkContext>public long heartbeatTimeoutMs()
heartbeatTimeoutMs in interface NetworkContext<T extends VanillaNetworkContext>public HeartbeatListener heartbeatListener()
heartbeatListener in interface NetworkContext<T extends VanillaNetworkContext>public void heartbeatListener(@NotNull
HeartbeatListener heartbeatListener)
heartbeatListener in interface NetworkContext<T extends VanillaNetworkContext>public long newCid()
newCid in interface NetworkContext<T extends VanillaNetworkContext>public void close()
close in interface Closeableclose in interface AutoCloseableprotected boolean closeAtomically()
public boolean isClosed()
public Runnable socketReconnector()
socketReconnector in interface NetworkContext<T extends VanillaNetworkContext>@NotNull public T socketReconnector(Runnable socketReconnector)
socketReconnector in interface NetworkContext<T extends VanillaNetworkContext>public void networkStatsListener(@NotNull
NetworkStatsListener networkStatsListener)
networkStatsListener in interface NetworkContext<T extends VanillaNetworkContext>@Nullable public NetworkStatsListener<? extends NetworkContext> networkStatsListener()
networkStatsListener in interface NetworkContext<T extends VanillaNetworkContext>public ServerThreadingStrategy serverThreadingStrategy()
serverThreadingStrategy in interface NetworkContext<T extends VanillaNetworkContext>public void serverThreadingStrategy(ServerThreadingStrategy serverThreadingStrategy)
serverThreadingStrategy in interface NetworkContext<T extends VanillaNetworkContext>Copyright © 2018. All rights reserved.