public interface MarshallableIn
Anything you can read marshallable object from.
| Modifier and Type | Method and Description |
|---|---|
default MethodReader |
methodReader(Object... objects)
Reads messages from this tails as methods.
|
default boolean |
readBytes(net.openhft.chronicle.bytes.Bytes using) |
default boolean |
readBytes(net.openhft.chronicle.bytes.ReadBytesMarshallable reader) |
default boolean |
readDocument(ReadMarshallable reader) |
DocumentContext |
readingDocument() |
default <K,V> Map<K,V> |
readMap()
Read a Map>String, Object> from the content.
|
default String |
readText()
Read the next message as a String
|
default boolean |
readText(StringBuilder sb)
Read the next message as string
|
DocumentContext readingDocument()
default boolean readDocument(@NotNull
ReadMarshallable reader)
reader - user to read the documenttrue if successfuldefault boolean readBytes(@NotNull
net.openhft.chronicle.bytes.ReadBytesMarshallable reader)
reader - used to read the documenttrue if successfuldefault boolean readBytes(@NotNull
net.openhft.chronicle.bytes.Bytes using)
using - used to read the documenttrue if successfuldefault String readText()
default boolean readText(StringBuilder sb)
sb - to copy the text intodefault <K,V> Map<K,V> readMap()
default MethodReader methodReader(Object... objects)
objects - which implement the methods serialized to the file.Copyright © 2016. All rights reserved.