public interface WireParser extends Consumer<WireIn>
| Modifier and Type | Field and Description |
|---|---|
static FieldNumberParselet |
SKIP_READABLE_BYTES |
| Modifier and Type | Method and Description |
|---|---|
default void |
accept(@NotNull WireIn wireIn) |
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) |
default @NotNull VanillaWireParser |
register(WireKey key,
WireParselet valueInConsumer) |
default @NotNull VanillaWireParser |
registerOnce(WireKey key,
WireParselet valueInConsumer) |
static void |
skipReadable(long ignoreMethodId,
WireIn wire) |
static @NotNull WireParser |
wireParser(WireParselet defaultConsumer) |
static @NotNull WireParser |
wireParser(@NotNull WireParselet defaultConsumer,
@NotNull FieldNumberParselet fieldNumberParselet) |
static final FieldNumberParselet SKIP_READABLE_BYTES
@NotNull static @NotNull WireParser wireParser(WireParselet defaultConsumer)
@NotNull static @NotNull WireParser wireParser(@NotNull @NotNull WireParselet defaultConsumer, @NotNull @NotNull FieldNumberParselet fieldNumberParselet)
static void skipReadable(long ignoreMethodId,
WireIn wire)
WireParselet getDefaultConsumer()
void parseOne(@NotNull
@NotNull WireIn wireIn)
throws net.openhft.chronicle.core.util.InvocationTargetRuntimeException,
net.openhft.chronicle.core.io.InvalidMarshallableException
net.openhft.chronicle.core.util.InvocationTargetRuntimeExceptionnet.openhft.chronicle.core.io.InvalidMarshallableExceptiondefault void accept(@NotNull
@NotNull WireIn wireIn)
WireParselet lookup(CharSequence name)
WireParselet lookup based on the provided name. If
a WireParselet is not associated with the provided name, null
is returned.WireParselet associated with the provided name,
null if no WireParselet was found.@NotNull default @NotNull VanillaWireParser registerOnce(WireKey key, WireParselet valueInConsumer)
@NotNull default @NotNull VanillaWireParser register(WireKey key, WireParselet valueInConsumer)
@NotNull @NotNull VanillaWireParser register(String keyName, WireParselet valueInConsumer)
Copyright © 2023. All rights reserved.