public class TerminatorHandler extends AbstractSubHandler<NetworkContext> implements net.openhft.chronicle.wire.Demarshallable, net.openhft.chronicle.wire.WriteMarshallable
| Constructor and Description |
|---|
TerminatorHandler(net.openhft.chronicle.wire.WireIn w) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
onInitialize(net.openhft.chronicle.wire.WireOut outWire)
called after all the construction and configuration has completed
|
void |
onRead(net.openhft.chronicle.wire.WireIn inWire,
net.openhft.chronicle.wire.WireOut outWire) |
static net.openhft.chronicle.wire.WriteMarshallable |
terminationHandler(int localIdentifier,
int remoteIdentifier,
long cid) |
void |
writeMarshallable(net.openhft.chronicle.wire.WireOut wire) |
cid, cid, closable, closeable, csp, csp, isClosed, localIdentifier, localIdentifier, nc, nc, publish, remoteIdentifier, remoteIdentifierclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonWrite@UsedViaReflection public TerminatorHandler(net.openhft.chronicle.wire.WireIn w)
public static net.openhft.chronicle.wire.WriteMarshallable terminationHandler(int localIdentifier,
int remoteIdentifier,
long cid)
public void onInitialize(@NotNull
net.openhft.chronicle.wire.WireOut outWire)
SubHandleronInitialize in interface SubHandler<NetworkContext>outWire - allow data to be writtenpublic void writeMarshallable(@NotNull
net.openhft.chronicle.wire.WireOut wire)
writeMarshallable in interface net.openhft.chronicle.wire.WriteMarshallablepublic void onRead(@NotNull
net.openhft.chronicle.wire.WireIn inWire,
@NotNull
net.openhft.chronicle.wire.WireOut outWire)
onRead in interface SubHandler<NetworkContext>onRead in class AbstractSubHandler<NetworkContext>public void close()
close in interface Closeableclose in interface AutoCloseableclose in class AbstractSubHandler<NetworkContext>Copyright © 2018. All rights reserved.