public abstract class CspTcpHandler<T extends NetworkContext> extends WireTcpHandler<T>
| Modifier and Type | Field and Description |
|---|---|
protected net.openhft.chronicle.wire.Marshallable |
config |
protected List<net.openhft.chronicle.wire.WriteMarshallable> |
writers |
outWire| Constructor and Description |
|---|
CspTcpHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
config(net.openhft.chronicle.wire.Marshallable config) |
protected SubHandler |
handler() |
protected HeartbeatEventHandler |
heartbeatEventHandler() |
protected boolean |
readMeta(net.openhft.chronicle.wire.WireIn wireIn)
peeks the csp or if it has a cid converts the cid into a Csp and returns that
|
checkWires, initialiseInWire, initialiseOutWire, isAcceptor, isAcceptor, nc, nc, onBytesWritten, onEndOfConnection, onInitialize, onRead, onWrite, process, publish, publisher, publisher, wireType, wireType, writeData, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonReadComplete, onReadTime, onWriteTime, sendHeartBeathasClientClosedprotected final List<net.openhft.chronicle.wire.WriteMarshallable> writers
protected net.openhft.chronicle.wire.Marshallable config
@Nullable protected SubHandler handler()
public void close()
close in interface Closeableclose in interface AutoCloseableclose in interface TcpHandlerclose in class WireTcpHandler<T extends NetworkContext>protected boolean readMeta(@NotNull
net.openhft.chronicle.wire.WireIn wireIn)
true if if a csp was read rather than a cidpublic void config(net.openhft.chronicle.wire.Marshallable config)
@Nullable protected HeartbeatEventHandler heartbeatEventHandler()
Copyright © 2018. All rights reserved.