public class EngineWireHandler
extends net.openhft.chronicle.network.WireTcpHandler
implements net.openhft.chronicle.wire.WireHandlers
| Modifier and Type | Field and Description |
|---|---|
static String |
BINARY_WIRE |
static String |
RAW_WIRE |
static String |
TEXT_WIRE |
| Constructor and Description |
|---|
EngineWireHandler(Map<Long,String> cidToCsp,
ChronicleEngine chronicleEngine,
java.util.function.Function<net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.wire.Wire> byteToWire) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(net.openhft.chronicle.wire.WireHandler handler) |
protected net.openhft.chronicle.wire.Wire |
createWriteFor(net.openhft.chronicle.bytes.Bytes bytes) |
protected void |
process(net.openhft.chronicle.wire.Wire in,
net.openhft.chronicle.wire.Wire out) |
protected void |
publish(net.openhft.chronicle.wire.Wire out) |
public static final String TEXT_WIRE
public static final String BINARY_WIRE
public static final String RAW_WIRE
public EngineWireHandler(@NotNull
Map<Long,String> cidToCsp,
@NotNull
ChronicleEngine chronicleEngine,
@NotNull
java.util.function.Function<net.openhft.chronicle.bytes.Bytes,net.openhft.chronicle.wire.Wire> byteToWire)
throws IOException
IOExceptionprotected void publish(net.openhft.chronicle.wire.Wire out)
publish in class net.openhft.chronicle.network.WireTcpHandlerprotected void process(@NotNull
net.openhft.chronicle.wire.Wire in,
@NotNull
net.openhft.chronicle.wire.Wire out)
throws StreamCorruptedException
process in class net.openhft.chronicle.network.WireTcpHandlerStreamCorruptedExceptionprotected net.openhft.chronicle.wire.Wire createWriteFor(net.openhft.chronicle.bytes.Bytes bytes)
public void add(net.openhft.chronicle.wire.WireHandler handler)
add in interface net.openhft.chronicle.wire.WireHandlersCopyright © 2015. All rights reserved.