public class VanillaNetworkContext<T extends VanillaNetworkContext> extends Object implements NetworkContext<T>
| Constructor and Description |
|---|
VanillaNetworkContext() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
connectionClosed() |
void |
connectionClosed(boolean connectionClosed) |
HeartbeatListener |
heartbeatListener() |
void |
heartbeatListener(HeartbeatListener heartbeatListener) |
long |
heartbeatTimeoutMs() |
void |
heartbeatTimeoutMs(long heartbeatTimeoutMs) |
boolean |
isAcceptor() |
T |
isAcceptor(boolean isAcceptor) |
long |
newCid() |
SessionDetailsProvider |
sessionDetails() |
T |
sessionDetails(SessionDetailsProvider sessionDetails) |
SocketChannel |
socketChannel() |
T |
socketChannel(SocketChannel socketChannel) |
TerminationEventHandler |
terminationEventHandler() |
void |
terminationEventHandler(TerminationEventHandler terminationEventHandler) |
WireOutPublisher |
wireOutPublisher() |
void |
wireOutPublisher(WireOutPublisher wireOutPublisher) |
net.openhft.chronicle.wire.WireType |
wireType() |
T |
wireType(net.openhft.chronicle.wire.WireType wireType) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisUncheckedpublic SocketChannel socketChannel()
socketChannel in interface NetworkContext<T extends VanillaNetworkContext>public T socketChannel(SocketChannel socketChannel)
socketChannel in interface NetworkContext<T extends VanillaNetworkContext>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>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>public T sessionDetails(SessionDetailsProvider sessionDetails)
sessionDetails in interface NetworkContext<T extends VanillaNetworkContext>public boolean connectionClosed()
public void connectionClosed(boolean connectionClosed)
connectionClosed in interface NetworkContext<T extends VanillaNetworkContext>public TerminationEventHandler terminationEventHandler()
terminationEventHandler in interface NetworkContext<T extends VanillaNetworkContext>public void terminationEventHandler(@Nullable
TerminationEventHandler terminationEventHandler)
terminationEventHandler in interface NetworkContext<T extends VanillaNetworkContext>public void 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>Copyright © 2016. All rights reserved.