public class VanillaWireParser extends Object implements WireParser
SKIP_READABLE_BYTES| Constructor and Description |
|---|
VanillaWireParser(@NotNull WireParselet defaultConsumer,
@NotNull FieldNumberParselet fieldNumberParselet) |
| Modifier and Type | Method and Description |
|---|---|
WireParselet |
getDefaultConsumer() |
WireParselet |
lookup(CharSequence name)
Performs a
WireParselet lookup based on the provided name. |
void |
parseOne(@NotNull WireIn wireIn) |
@NotNull VanillaWireParser |
register(String keyName,
WireParselet valueInConsumer) |
@NotNull VanillaWireParser |
register(@NotNull WireKey key,
WireParselet valueInConsumer) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaccept, registerOnce, skipReadable, wireParser, wireParserpublic VanillaWireParser(@NotNull
@NotNull WireParselet defaultConsumer,
@NotNull
@NotNull FieldNumberParselet fieldNumberParselet)
public WireParselet getDefaultConsumer()
getDefaultConsumer in interface WireParserpublic void parseOne(@NotNull
@NotNull WireIn wireIn)
throws net.openhft.chronicle.core.util.InvocationTargetRuntimeException,
net.openhft.chronicle.core.io.InvalidMarshallableException
parseOne in interface WireParsernet.openhft.chronicle.core.util.InvocationTargetRuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableException@NotNull public @NotNull VanillaWireParser register(@NotNull @NotNull WireKey key, WireParselet valueInConsumer)
register in interface WireParser@NotNull public @NotNull VanillaWireParser register(String keyName, WireParselet valueInConsumer)
register in interface WireParserpublic WireParselet lookup(CharSequence name)
WireParserWireParselet lookup based on the provided name. If
a WireParselet is not associated with the provided name, null
is returned.lookup in interface WireParserWireParselet associated with the provided name,
null if no WireParselet was found.Copyright © 2023. All rights reserved.