public abstract class AbstractGeneratedMethodReader extends Object implements net.openhft.chronicle.bytes.MethodReader
VanillaMethodReader.| Modifier and Type | Field and Description |
|---|---|
protected WireParselet |
debugLoggingParselet |
protected MessageHistory |
messageHistory |
| Constructor and Description |
|---|
AbstractGeneratedMethodReader(MarshallableIn in,
WireParselet debugLoggingParselet,
Supplier<net.openhft.chronicle.bytes.MethodReader> delegateSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
actualInvoke(Method method,
Object o,
Object[] objects) |
protected <T> T |
checkRecycle(T o)
Workaround to disable "object recycling read"
ValueIn.object(Object, Class) for some object types. |
void |
close() |
net.openhft.chronicle.bytes.MethodReader |
closeIn(boolean closeIn) |
boolean |
isClosed() |
boolean |
lazyReadOne() |
protected static Method |
lookupMethod(Class<?> clazz,
String name,
Class<?>... parameterTypes)
Helper method used by implementations to get a Method
|
net.openhft.chronicle.bytes.MethodReaderInterceptorReturns |
methodReaderInterceptorReturns() |
boolean |
readOne() |
boolean |
readOne0(DocumentContext context) |
protected abstract boolean |
readOneCall(WireIn wireIn)
Reads call name and arguments from the wire and performs invocation on a target object instance.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprotected final WireParselet debugLoggingParselet
protected MessageHistory messageHistory
public AbstractGeneratedMethodReader(MarshallableIn in, WireParselet debugLoggingParselet, Supplier<net.openhft.chronicle.bytes.MethodReader> delegateSupplier)
protected abstract boolean readOneCall(WireIn wireIn)
GenerateMethodReader.wireIn - Data input.true if reading is successful, false if reading should be delegated.public boolean readOne0(DocumentContext context)
context - Reading document context.true if reading is successful, false if reading should be delegated.public boolean readOne()
readOne in interface net.openhft.chronicle.bytes.MethodReaderpublic net.openhft.chronicle.bytes.MethodReaderInterceptorReturns methodReaderInterceptorReturns()
methodReaderInterceptorReturns in interface net.openhft.chronicle.bytes.MethodReaderpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic boolean isClosed()
isClosed in interface net.openhft.chronicle.core.io.QueryCloseablepublic boolean lazyReadOne()
lazyReadOne in interface net.openhft.chronicle.bytes.MethodReaderpublic net.openhft.chronicle.bytes.MethodReader closeIn(boolean closeIn)
closeIn in interface net.openhft.chronicle.bytes.MethodReaderprotected <T> T checkRecycle(T o)
ValueIn.object(Object, Class) for some object types.Copyright © 2020. All rights reserved.