public class ReadAnyWire extends AbstractAnyWire implements Wire
TextWire BinaryWire
WireIn.HeaderTypeWireOut.EndOfWirewireAcquisitionbytes, classLookup, commentListener, DEFAULT_USE_PADDING, parent, use8bitMARSHALLABLE_IN_INTERN_SIZE| Constructor and Description |
|---|
ReadAnyWire(@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes) |
| Modifier and Type | Method and Description |
|---|---|
@NotNull net.openhft.chronicle.bytes.Bytes<?> |
bytes()
Returns the underlying
Bytes stored by the wire. |
net.openhft.chronicle.core.pool.ClassLookup |
classLookup()
Returns the current
ClassLookup implementation being used for class lookup. |
void |
classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
Sets the
ClassLookup implementation to be used for class lookup. |
void |
clear()
Resets the state of the underlying
Bytes stored by the wire. |
boolean |
isBinary()
Determine whether direct access to the underlying byte() makes sense or should it be treated as text
|
@NotNull net.openhft.chronicle.core.values.BooleanValue |
newBooleanReference()
Creates and returns a new
BooleanValue. |
void |
reset()
Reset the state of the wire
|
boolean |
useSelfDescribingMessage(@NotNull net.openhft.chronicle.bytes.CommonMarshallable object)
Should this wire write the object as a Marshallable or BytesMarshallable
|
acquireWritingDocument, addPadding, consumePadding, copyTo, getValueIn, getValueOut, newIntArrayReference, newIntReference, newLongArrayReference, newLongReference, read, read, read, readComment, readEvent, readingDocument, readingDocument, readingPeekYaml, underlyingType, underlyingWire, write, write, write, writeComment, writeEndEvent, writeEvent, writeStartEvent, writingDocumentbytesComment, commentListener, endOfWire, enterHeader, forceNotInsideHeader, headerNumber, headerNumber, headNumberCheck, isInsideHeader, notCompleteIsNotPresent, notCompleteIsNotPresent, objectInput, objectOutput, parent, parent, pauser, pauser, readAndSetLength, readDataHeader, readEventNumber, readFirstHeader, readFirstHeader, readMetaDataHeader, updateFirstHeader, updateFirstHeader, updateHeader, usePadding, usePadding, writeEndOfWire, writeFirstHeaderclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromFile, headerNumber, newYamlWireOnHeapasText, commentListener, consumePadding, copyTo, endEvent, getValueIn, hasMetaDataPrefix, hasMore, hintReadInputOrder, isEmpty, isEndEvent, isNotEmptyAfterPadding, objectInput, rawReadData, read, read, read, read, readAlignTo, readAllAsMap, readAndSetLength, readComment, readDataHeader, readDataHeader, readDocument, readDocument, readEvent, readEventName, readEventNumber, readFirstHeader, readFirstHeader, readingDocument, readingDocument, readingPeekYaml, readMetaDataHeader, startEventmethodReader, methodReaderBuilder, readBytes, readBytes, readDocument, readMap, readText, readTextacquireWritingDocument, addPadding, dropDefault, endOfWire, enterHeader, getValueOut, objectOutput, padToCacheAlign, updateFirstHeader, updateFirstHeader, updateHeader, write, write, write, writeAlignTo, writeAllAsMap, writeComment, writeDocument, writeEndEvent, writeEndOfWire, writeEvent, writeEventId, writeEventId, writeEventName, writeEventName, writeFirstHeader, writeNotCompleteDocument, writeStartEvent, writingDocument, writingDocument, writingIsCompletebytesComment, headerNumber, newIntArrayReference, newIntReference, newLongArrayReference, newLongReference, newTwoLongReference, notCompleteIsNotPresent, notCompleteIsNotPresent, parent, parent, pauser, pauser, usePadding, usePaddingbuilder, methodWriter, methodWriter, methodWriterBuilder, methodWriterBuilder, recordHistory, writeBytes, writeDocument, writeDocument, writeMap, writeMessage, writeMessage, writeTextpublic ReadAnyWire(@NotNull
@NotNull net.openhft.chronicle.bytes.Bytes<?> bytes)
public boolean isBinary()
WireCommonisBinary in interface WireCommonpublic void classLookup(net.openhft.chronicle.core.pool.ClassLookup classLookup)
WireCommonClassLookup implementation to be used for class lookup.classLookup in interface WireCommonclassLookup in class AbstractWireclassLookup - implementation to be used for class lookup.public net.openhft.chronicle.core.pool.ClassLookup classLookup()
WireCommonClassLookup implementation being used for class lookup.classLookup in interface WireCommonclassLookup in class AbstractWireClassLookup implementation being used for class lookuppublic void clear()
WireCommonBytes stored by the wire.clear in interface WireCommonclear in interface WireInclear in interface WireOutclear in class AbstractWirepublic void reset()
WireCommonreset in interface WireCommon@NotNull public @NotNull net.openhft.chronicle.core.values.BooleanValue newBooleanReference()
WireCommonBooleanValue. The BooleanValue implementation that is
returned depends on the wire implementation.newBooleanReference in interface WireCommonBooleanValue.public boolean useSelfDescribingMessage(@NotNull
@NotNull net.openhft.chronicle.bytes.CommonMarshallable object)
WireCommonuseSelfDescribingMessage in interface WireCommon@NotNull public @NotNull net.openhft.chronicle.bytes.Bytes<?> bytes()
WireCommonBytes stored by the wire.bytes in interface WireCommonbytes in class AbstractWireBytes stored by the wireCopyright © 2023. All rights reserved.