| Package | Description |
|---|---|
| net.openhft.chronicle.wire | |
| net.openhft.chronicle.wire.channel |
Provides classes and interfaces for managing Chronicle communication channels and their operations.
|
| net.openhft.chronicle.wire.utils |
| Modifier and Type | Interface and Description |
|---|---|
interface |
Wire
Defines the standard interface for sequentially writing to and reading from a Bytes stream.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractAnyWire
An abstract representation of a wire type that could be either
TextWire or BinaryWire. |
class |
AbstractWire
Represents the AbstractWire class which serves as a base for all Wire implementations.
|
class |
BinaryWire
Represents a binary translation of TextWire, which is a subset of YAML.
|
class |
CSVWire
Represents a CSV (Comma Separated Values) based wire format.
|
class |
HashWire
The
HashWire class is responsible for generating hash values from provided objects or WriteMarshallable instances. |
class |
JSONWire
Represents the JSON wire format.
|
class |
QueryWire
This class represents a wire format designed to decode URL query strings.
|
class |
RawWire
Represents a wire type that focuses on writing pure data, omitting any metadata.
|
class |
ReadAnyWire
Represents a wire type that can be either
TextWire or BinaryWire. |
class |
TextWire
A representation of the YAML-based wire format.
|
class |
YamlWire
Represents a YAML-based wire format designed for efficient parsing and serialization of data.
|
class |
YamlWireOut<T extends YamlWireOut<T>>
Provides functionality for writing data in a YAML-based wire format.
|
| Modifier and Type | Method and Description |
|---|---|
@NotNull WireOut |
BinaryWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
RawWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
WireOut.addPadding(int paddingToAdd)
Adds padding to the wire.
|
@NotNull WireOut |
AbstractAnyWire.addPadding(int paddingToAdd) |
@NotNull WireOut |
HashWire.addPadding(int paddingToAdd) |
default WireOut |
ValueOut.array(boolean[] array,
int length)
Writes an array of boolean values to the wire output.
|
default WireOut |
ValueOut.array(byte[] array,
int length)
Writes an array of byte values to the wire output.
|
default WireOut |
ValueOut.array(net.openhft.chronicle.bytes.Bytes[] array,
int length)
Writes an array of byte sequences of a specified length.
|
default WireOut |
ValueOut.array(double[] array,
int length)
Writes an array of doubles of a specified length.
|
default WireOut |
ValueOut.array(int[] array,
int length)
Writes an array of int values to the wire output.
|
default WireOut |
ValueOut.array(long[] array,
int length)
Writes an array of long values to the wire output.
|
default @NotNull WireOut |
ValueOut.array(@NotNull WriteValue writer,
@NotNull Class<?> arrayType)
Writes an array of specified type objects to the wire output, using the provided writer.
|
default WireOut |
ValueOut.arrayDelta(double[] array,
int length)
This write value's relative to the first one using 6 digit precision
|
default WireOut |
ValueOut.arrayDelta(long[] array,
int length)
Writes the delta of long values in an array to the wire output.
|
default <E extends Enum<E>> |
ValueOut.asEnum(E e)
Writes an enum value to the wire output.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bool(@Nullable Boolean flag) |
@NotNull WireOut |
ValueOut.bool(Boolean flag)
Write a boolean value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.boolForBinding(boolean value,
@NotNull net.openhft.chronicle.core.values.BooleanValue booleanValue) |
@NotNull WireOut |
ValueOut.boolForBinding(boolean value,
@NotNull net.openhft.chronicle.core.values.BooleanValue longValue)
Writes a boolean value for binding with the given BooleanValue.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(@NotNull byte[] fromBytes) |
@NotNull WireOut |
ValueOut.bytes(byte[] fromBytes)
Write a sequence of bytes.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> fromBytes) |
@NotNull WireOut |
ValueOut.bytes(@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> fromBytes)
Write a sequence of bytes based on the content of a
BytesStore object. |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(String type,
@NotNull byte[] fromBytes) |
@NotNull WireOut |
ValueOut.bytes(String type,
byte[] fromBytes)
Write a typed sequence of bytes.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytes(String type,
@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> fromBytes) |
@NotNull WireOut |
ValueOut.bytes(String type,
@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> fromBytes)
Write a typed sequence of bytes based on the content of a
BytesStore object. |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.bytesLiteral(@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> fromBytes) |
default @NotNull WireOut |
ValueOut.bytesLiteral(@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> fromBytes)
Write a sequence of bytes from a
BytesStore object as a literal value,
if supported by the wire type. |
WireOut |
BinaryWire.FixedBinaryValueOut.bytesMarshallable(net.openhft.chronicle.bytes.WriteBytesMarshallable object) |
default WireOut |
ValueOut.bytesMarshallable(net.openhft.chronicle.bytes.WriteBytesMarshallable value)
Serialize an object implementing the WriteBytesMarshallable interface.
|
default @NotNull WireOut |
ValueOut.character(char c)
Write a character value as text.
|
default <V> @NotNull WireOut |
ValueOut.collection(Collection<V> coll,
Class<V> assumedClass)
Writes a collection to the wire output, specifying the type of its entries.
|
default @NotNull WireOut |
ValueOut.compress(@NotNull String compression,
@Nullable net.openhft.chronicle.bytes.Bytes<?> uncompressedBytes)
Compresses the given bytes using the specified compression technique.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.date(@NotNull LocalDate localDate) |
@NotNull WireOut |
ValueOut.date(LocalDate localDate)
Write a date value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.dateTime(@NotNull LocalDateTime localDateTime) |
@NotNull WireOut |
ValueOut.dateTime(LocalDateTime localDateTime)
Write a local date-time value, which represents both date and time without a time zone.
|
default @NotNull WireOut |
WireOut.dropDefault(boolean dropDefault) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedFloat32(float f) |
default @NotNull WireOut |
ValueOut.fixedFloat32(float value)
Serialize a float value prefixed with its type.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedFloat64(double d) |
default @NotNull WireOut |
ValueOut.fixedFloat64(double value)
Serialize a double value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt16(short i16) |
default @NotNull WireOut |
ValueOut.fixedInt16(short value)
Serialize a short (signed 16-bit) value prefixed with its type.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt32(int i32) |
default @NotNull WireOut |
ValueOut.fixedInt32(int value)
Serialize an int (signed 32-bit) value prefixed with its type.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt64(long i64) |
default @NotNull WireOut |
ValueOut.fixedInt64(long value)
Serialize a long (signed 64-bit) value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedInt8(byte i8) |
default @NotNull WireOut |
ValueOut.fixedInt8(byte value)
Serialize a byte (signed 8-bit) value prefixed with its type.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.fixedOrderedInt32(int i32)
Writes a 32-bit integer value to the byte storage in an order-preserving binary format.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.float32(float f) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.float32(float f) |
@NotNull WireOut |
ValueOut.float32(float f)
Write a 32-bit floating-point value.
|
default @NotNull WireOut |
ValueOut.float32(float f,
float previous)
Write a 32-bit floating-point value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.float64(double d) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.float64(double d) |
@NotNull WireOut |
ValueOut.float64(double d)
Write a 64-bit floating-point value, also known as a double.
|
default @NotNull WireOut |
ValueOut.float64(double d,
double previous)
Write a 64-bit floating-point value.
|
@NotNull WireOut |
WireCommon.headerNumber(long headerNumber) |
@NotNull WireOut |
HashWire.headerNumber(long headerNumber) |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int128forBinding(long value,
long value2) |
default @NotNull WireOut |
ValueOut.int128forBinding(long value,
long value2)
Throws an unsupported operation exception by default.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int128forBinding(long i64x0,
long i64x1,
net.openhft.chronicle.core.values.TwoLongValue longValue) |
@NotNull WireOut |
ValueOut.int128forBinding(long i64x0,
long i64x1,
net.openhft.chronicle.core.values.TwoLongValue value)
Write two signed 64-bit integer values bound to a TwoLongValue object.
|
default @NotNull WireOut |
ValueOut.int16(long x)
Write a signed 16-bit integer value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int16(short i16) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int16(short i16) |
@NotNull WireOut |
ValueOut.int16(short i16)
Write a signed 16-bit integer value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int32(int i32) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int32(int i32) |
@NotNull WireOut |
ValueOut.int32(int i32)
Write a signed 32-bit integer value.
|
default @NotNull WireOut |
ValueOut.int32(int i32,
int previous)
Write a signed 32-bit integer value.
|
default @NotNull WireOut |
ValueOut.int32(long x)
Write a signed 32-bit integer value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int32forBinding(int value) |
@NotNull WireOut |
ValueOut.int32forBinding(int value)
Writes a 32-bit integer for binding.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int32forBinding(int value,
@NotNull net.openhft.chronicle.core.values.IntValue intValue) |
@NotNull WireOut |
ValueOut.int32forBinding(int value,
@NotNull net.openhft.chronicle.core.values.IntValue intValue)
Writes a 32-bit integer for binding with the given IntValue.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64_0x(long i64) |
@NotNull WireOut |
ValueOut.int64_0x(long i64)
Write a signed 64-bit integer value as a hexadecimal representation.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64(long i64) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int64(long i64) |
@NotNull WireOut |
ValueOut.int64(long i64)
Write a signed 64-bit integer value.
|
default @NotNull WireOut |
ValueOut.int64(long i64,
long previous)
Write a signed 64-bit integer value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64array(long capacity) |
@NotNull WireOut |
ValueOut.int64array(long capacity)
Allocate space for writing an array of 64-bit integers.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64array(long capacity,
@NotNull net.openhft.chronicle.core.values.LongArrayValues values) |
@NotNull WireOut |
ValueOut.int64array(long capacity,
net.openhft.chronicle.core.values.LongArrayValues values)
Write a sequence of 64-bit integers into an array, using the provided LongArrayValues
object as the source of the values.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64forBinding(long value) |
@NotNull WireOut |
ValueOut.int64forBinding(long value)
Writes a 64-bit integer for binding.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int64forBinding(long value,
@NotNull net.openhft.chronicle.core.values.LongValue longValue) |
@NotNull WireOut |
ValueOut.int64forBinding(long value,
@NotNull net.openhft.chronicle.core.values.LongValue longValue)
Writes a 64-bit integer for binding with the given LongValue.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.int8(byte i8) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.int8(byte i8) |
@NotNull WireOut |
ValueOut.int8(byte i8)
Write a signed 8-bit integer value.
|
default @NotNull WireOut |
ValueOut.int8(long x)
Write a signed 8-bit integer value.
|
default <V> @NotNull WireOut |
ValueOut.list(List<V> coll)
Writes a list to the wire output.
|
default <V> @NotNull WireOut |
ValueOut.list(List<V> coll,
Class<V> assumedClass)
Writes a list to the wire output, while specifying the type of its entries.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.map(Map map) |
@NotNull WireOut |
ValueOut.map(Map map)
Writes the contents of a specified map to the wire output.
|
default <K,V> @NotNull WireOut |
ValueOut.marshallable(Map<K,V> map)
Writes a map to the wire output.
|
default <K,V> @NotNull WireOut |
ValueOut.marshallable(@Nullable Map<K,V> map,
@NotNull Class<K> kClass,
@NotNull Class<V> vClass,
boolean leaf)
Writes a map to the wire output, specifying classes for keys and values.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.marshallable(@NotNull Serializable object) |
@NotNull WireOut |
ValueOut.marshallable(Serializable object)
Writes a value that implements the
Serializable interface to the wire output. |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.marshallable(@NotNull WriteMarshallable object) |
@NotNull WireOut |
ValueOut.marshallable(WriteMarshallable object)
Writes a value that implements the
WriteMarshallable interface to the wire output. |
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.nu11() |
default @NotNull WireOut |
ValueOut.nu11()
Write a null value.
|
default <V> @NotNull WireOut |
ValueOut.object(@NotNull Class<? extends V> expectedType,
V v)
Writes an object to the wire output, specifying its expected type.
|
default @NotNull WireOut |
ValueOut.object(@Nullable Object value)
Writes an object to the wire output.
|
default @NotNull WireOut |
WireOut.padToCacheAlign()
Ensures that the wire's output aligns with cache boundaries.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.rawBytes(@NotNull byte[] value) |
@NotNull WireOut |
ValueOut.rawBytes(byte[] value)
Write a raw sequence of bytes.
|
default @NotNull WireOut |
ValueOut.rawText(CharSequence value)
Write a raw text value.
|
default <T> @NotNull WireOut |
ValueOut.sequence(Iterable<T> t)
Writes a sequence of values from an
Iterator. |
<T> @NotNull WireOut |
BinaryWire.FixedBinaryValueOut.sequence(T t,
@NotNull BiConsumer<T,ValueOut> writer) |
<T> @NotNull WireOut |
ValueOut.sequence(T t,
BiConsumer<T,ValueOut> writer)
Writes a sequence of values using the provided writer.
|
<T,K> @NotNull WireOut |
BinaryWire.FixedBinaryValueOut.sequence(T t,
K kls,
@NotNull TriConsumer<T,K,ValueOut> writer) |
<T,K> @NotNull WireOut |
ValueOut.sequence(T t,
K param,
TriConsumer<T,K,ValueOut> writer)
Writes a sequence of values using the provided parametrized writer.
|
default @NotNull WireOut |
ValueOut.sequence(WriteValue writer)
Writes a sequence of values to the wire using the provided writer.
|
default <T> WireOut |
ValueOut.sequenceWithLength(T t,
int length,
ObjectIntObjectConsumer<T,ValueOut> writer)
Writes a sequence of values of a specified length.
|
default <V> @NotNull WireOut |
ValueOut.set(Set<V> coll)
Writes a set value to the wire output.
|
default <V> @NotNull WireOut |
ValueOut.set(Set<V> coll,
Class<V> assumedClass)
Writes a set to the wire output, while specifying the type of its entries.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.text(@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> s) |
default @NotNull WireOut |
ValueOut.text(@Nullable net.openhft.chronicle.bytes.BytesStore<?,?> s)
Write a text value based on the contents of a
BytesStore object. |
default @NotNull WireOut |
ValueOut.text(char c)
Write a text value that's made up of a single character.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.text(@Nullable CharSequence s) |
@NotNull WireOut |
ValueOut.text(@Nullable CharSequence s)
Write a text value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.text(@Nullable String s) |
default @NotNull WireOut |
ValueOut.text(@Nullable String s)
Write a text value.
|
default @NotNull WireOut |
ValueOut.throwable(@NotNull Throwable t)
Write a throwable value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.time(@NotNull LocalTime localTime) |
@NotNull WireOut |
ValueOut.time(LocalTime localTime)
Write a local time value.
|
default @NotNull WireOut |
ValueOut.typedMarshallable(CharSequence typeName,
WriteMarshallable object)
Writes a value that implements the
WriteMarshallable interface to the wire output,
while prepending it with a specified type prefix. |
default @NotNull WireOut |
ValueOut.typedMarshallable(@Nullable Serializable object)
Writes a value that implements the
Serializable interface to the wire output. |
default @NotNull WireOut |
ValueOut.typedMarshallable(@Nullable WriteMarshallable marshallable)
To be used when you know it is a typed marshallable object.
|
default @NotNull WireOut |
ValueOut.typedScalar(@NotNull Object value)
Write a typed scalar value as type prefixed text.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(@NotNull BiConsumer<Class,net.openhft.chronicle.bytes.Bytes<?>> typeTranslator,
@Nullable Class<?> type) |
@NotNull WireOut |
ValueOut.typeLiteral(@NotNull BiConsumer<Class,net.openhft.chronicle.bytes.Bytes<?>> typeTranslator,
@Nullable Class<?> type)
Writes a type literal using the specified type translator function.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(CharSequence typeName) |
@NotNull WireOut |
ValueOut.typeLiteral(@Nullable CharSequence type)
Write a type literal value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.typeLiteral(@Nullable Class<?> type) |
default @NotNull WireOut |
ValueOut.typeLiteral(@Nullable Class<?> type)
Write a type literal for a specified
Class. |
default @NotNull WireOut |
ValueOut.typeLiteral(@Nullable Type type)
Write a type literal for a specified
Type. |
default @NotNull WireOut |
ValueOut.uint16(long x)
Write an unsigned 16-bit integer value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uint16checked(int u16) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.uint16checked(int u16) |
@NotNull WireOut |
ValueOut.uint16checked(int u16)
Write an unsigned 16-bit integer value.
|
default @NotNull WireOut |
ValueOut.uint32(long x)
Write an unsigned 32-bit integer value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uint32checked(long u32) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.uint32checked(long u32) |
@NotNull WireOut |
ValueOut.uint32checked(long u32)
Write an unsigned 32-bit integer value.
|
default @NotNull WireOut |
ValueOut.uint8(int x)
Write an unsigned 8-bit integer value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uint8checked(int u8) |
@NotNull WireOut |
BinaryWire.BinaryValueOut.uint8checked(int u8) |
@NotNull WireOut |
ValueOut.uint8checked(int u8)
Write an unsigned 8-bit integer value.
|
default @NotNull WireOut |
ValueOut.untypedObject(@Nullable Object value)
Write an untyped object value.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.utf8(int codepoint) |
@NotNull WireOut |
ValueOut.utf8(int codepoint)
Write a single 16-bit Unicode codepoint as UTF-8.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.uuid(@NotNull UUID uuid) |
@NotNull WireOut |
ValueOut.uuid(UUID uuid)
Writes a universally unique identifier (UUID) to the wire.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.wireOut() |
@NotNull WireOut |
ValueOut.wireOut() |
default @NotNull WireOut |
WireOut.writeAlignTo(int alignment,
int plus)
Aligns the write position to the provided alignment boundary, taking into account
the specified offset (plus).
|
default WireOut |
ValueOut.writeBoolean(boolean x)
Writes a boolean value to the wire.
|
default WireOut |
ValueOut.writeByte(byte x)
Writes a byte value to the wire.
|
default WireOut |
ValueOut.writeChar(char x)
Writes a char value to the wire.
|
@NotNull WireOut |
WireOut.writeComment(CharSequence s)
Writes a comment to the wire.
|
@NotNull WireOut |
AbstractAnyWire.writeComment(CharSequence s) |
@NotNull WireOut |
HashWire.writeComment(CharSequence s) |
default WireOut |
ValueOut.writeDouble(double x)
Writes a double value to the wire.
|
default WireOut |
ValueOut.writeFloat(float x)
Writes a float value to the wire.
|
default WireOut |
ValueOut.writeInt(int x)
Writes an int value to the wire.
|
WireOut |
BinaryWire.BinaryValueOut.writeInt(LongConverter converter,
int i) |
default WireOut |
ValueOut.writeInt(LongConverter converter,
int i)
Writes an int value to the wire using a specified converter.
|
default WireOut |
ValueOut.writeLong(long x)
Writes a long value to the wire.
|
WireOut |
BinaryWire.BinaryValueOut.writeLong(LongConverter longConverter,
long l) |
default WireOut |
ValueOut.writeLong(LongConverter longConverter,
long l)
Writes a long value to the wire using a specified converter.
|
default WireOut |
ValueOut.writeShort(short x)
Writes a short value to the wire.
|
default WireOut |
ValueOut.writeString(CharSequence x)
Writes a string or a sequence of characters to the wire.
|
@NotNull WireOut |
BinaryWire.FixedBinaryValueOut.zonedDateTime(@NotNull ZonedDateTime zonedDateTime) |
@NotNull WireOut |
ValueOut.zonedDateTime(ZonedDateTime zonedDateTime)
Write a zoned date-time value, which includes information about date, time, and the
associated time zone.
|
| Modifier and Type | Method and Description |
|---|---|
default boolean |
LongConverter.allSafeChars(WireOut wireOut)
Deprecated.
|
protected void |
BinaryWire.anchor(@NotNull WireOut wire)
Placeholder or handler for anchor processing in the WireOut stream.
|
void |
BinaryWire.copyOne(@NotNull WireOut wire)
Copies one unit of data from this BinaryWire to the provided WireOut instance.
|
void |
JSONWire.copyOne(@NotNull WireOut wire,
boolean expectKeyValues,
boolean topLevel)
Copies one segment of data from this wire to the given wire output.
|
void |
BinaryWire.copyTo(@NotNull WireOut wire) |
void |
RawWire.copyTo(@NotNull WireOut wire) |
void |
WireIn.copyTo(@NotNull WireOut wire)
Copies the content from the current WireIn source to the provided WireOut destination.
|
void |
TextWire.copyTo(@NotNull WireOut wire) |
void |
JSONWire.copyTo(@NotNull WireOut wire) |
void |
YamlWire.copyTo(@NotNull WireOut wire) |
void |
AbstractAnyWire.copyTo(@NotNull WireOut wire) |
protected void |
BinaryWire.fieldAnchor(@NotNull WireOut wire)
Placeholder or handler for field anchor processing in the WireOut stream.
|
void |
BinaryWire.readWithLength(@NotNull WireOut wire,
int len)
Reads data of a specified length from the bytes stream and writes to the WireOut stream
while interpreting the type of data (Map, Sequence, or Object).
|
protected void |
BinaryWire.unknownCode(@NotNull WireOut wire)
Throws an exception indicating an unknown code was encountered.
|
static long |
WireInternal.writeData(@NotNull WireOut wireOut,
boolean metaData,
boolean notComplete,
@NotNull WriteMarshallable writer)
Writes data to the provided
wireOut based on the given configurations and writer. |
static <T extends WriteMarshallable> |
Wires.writeData(@NotNull WireOut wireOut,
T writer)
Writes data to the given WireOut using the provided writer.
|
static void |
Wires.writeMarshallable(@NotNull Object marshallable,
@NotNull WireOut wire)
Writes a marshallable object's fields to a WireOut instance.
|
static void |
Wires.writeMarshallable(@NotNull Object marshallable,
@NotNull WireOut wire,
boolean writeDefault)
Writes a marshallable object's fields to a WireOut instance with an option to use defaults.
|
static void |
Wires.writeMarshallable(@NotNull Object marshallable,
@NotNull WireOut wire,
@NotNull Object previous,
boolean copy)
Writes a marshallable object's fields to a WireOut instance considering previous state.
|
void |
WireMarshaller.writeMarshallable(T t,
@NotNull WireOut out)
Writes the marshallable representation of the given object to the provided
WireOut destination. |
void |
WireMarshaller.writeMarshallable(T t,
@NotNull WireOut out,
boolean copy)
Writes the values of the fields from the provided object (DTO) to the output.
|
void |
AbstractMarshallableCfg.writeMarshallable(@NotNull WireOut wire)
Writes the state of this configuration object to the given wire output.
|
void |
VanillaMessageHistory.writeMarshallable(@NotNull WireOut wire) |
default void |
Marshallable.writeMarshallable(@NotNull WireOut wire)
Writes the state of the Marshallable object to the given wire output.
|
void |
LongArrayValueBitSet.writeMarshallable(@NotNull WireOut wire) |
void |
WriteMarshallable.writeMarshallable(@NotNull WireOut wire)
Write the current state of the marshallable entity to the provided wire.
|
void |
ValueOut.MapMarshaller.writeMarshallable(@NotNull WireOut wire)
Converts and writes the Map's entries to the Wire format.
|
void |
LongValueBitSet.writeMarshallable(@NotNull WireOut wire) |
void |
WritingMarshaller.writeToWire(T t,
WireOut out)
Deprecated.
|
| Constructor and Description |
|---|
TextMethodTester(String input,
Function<T,Object> componentFunction,
Function<WireOut,T> outputFunction,
String output)
Constructs a TextMethodTester with specified input, component function, output function, and output.
|
| Modifier and Type | Method and Description |
|---|---|
WireOut |
InternalChronicleChannel.acquireProducer()
Retrieves a producer instance associated with this channel.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> YamlTester |
YamlTester.runTest(Function<T,Object> builder,
Function<WireOut,T> outFunction,
String path)
Deprecated.
Executes tests on a component constructed by the given builder function and outputs the result using
the provided outFunction.
|
Copyright © 2024. All rights reserved.