T - public final class NoOpHandler<T extends NetworkContext<T>> extends Object implements SubHandler<T>
SubHandler that does nothing on read or write| Modifier and Type | Method and Description |
|---|---|
long |
cid() |
void |
cid(long cid) |
net.openhft.chronicle.core.io.Closeable |
closable() |
void |
close() |
void |
closeable(net.openhft.chronicle.core.io.Closeable closeable) |
String |
csp() |
void |
csp(@NotNull String cspText) |
static <T extends NetworkContext<T>> |
instance() |
boolean |
isClosed() |
void |
localIdentifier(int localIdentifier) |
T |
nc() |
void |
nc(T nc) |
void |
onInitialize(net.openhft.chronicle.wire.WireOut outWire)
called after all the construction and configuration has completed
|
void |
onRead(@NotNull net.openhft.chronicle.wire.WireIn inWire,
@NotNull net.openhft.chronicle.wire.WireOut outWire) |
void |
remoteIdentifier(int remoteIdentifier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinProgress, onTouchpublic static <T extends NetworkContext<T>> SubHandler<T> instance()
public void cid(long cid)
cid in interface SubHandler<T extends NetworkContext<T>>public long cid()
cid in interface SubHandler<T extends NetworkContext<T>>public void csp(@NotNull
@NotNull String cspText)
csp in interface SubHandler<T extends NetworkContext<T>>public String csp()
csp in interface SubHandler<T extends NetworkContext<T>>public void onRead(@NotNull
@NotNull net.openhft.chronicle.wire.WireIn inWire,
@NotNull
@NotNull net.openhft.chronicle.wire.WireOut outWire)
onRead in interface SubHandler<T extends NetworkContext<T>>public net.openhft.chronicle.core.io.Closeable closable()
closable in interface SubHandler<T extends NetworkContext<T>>public void remoteIdentifier(int remoteIdentifier)
remoteIdentifier in interface SubHandler<T extends NetworkContext<T>>public void localIdentifier(int localIdentifier)
localIdentifier in interface SubHandler<T extends NetworkContext<T>>public void onInitialize(net.openhft.chronicle.wire.WireOut outWire)
throws RejectedExecutionException
SubHandleronInitialize in interface SubHandler<T extends NetworkContext<T>>outWire - allow data to be writtenRejectedExecutionExceptionpublic void closeable(net.openhft.chronicle.core.io.Closeable closeable)
closeable in interface SubHandler<T extends NetworkContext<T>>public void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean isClosed()
isClosed in interface net.openhft.chronicle.core.io.QueryCloseablepublic T nc()
nc in interface NetworkContextManager<T extends NetworkContext<T>>public void nc(T nc)
nc in interface NetworkContextManager<T extends NetworkContext<T>>Copyright © 2023. All rights reserved.