public class BytesMethodReader extends net.openhft.chronicle.core.io.SimpleCloseable implements MethodReader
HISTORY| Constructor and Description |
|---|
BytesMethodReader(BytesIn in,
BytesParselet defaultParselet,
MethodEncoderLookup methodEncoderLookup,
Object[] objects) |
| Modifier and Type | Method and Description |
|---|---|
MethodReader |
closeIn(boolean closeIn)
Call close on the input when closed
|
MethodReaderInterceptorReturns |
methodReaderInterceptorReturns() |
boolean |
readOne()
Moves the queue to read a message if there is one, but is more expensive than
MethodReader.lazyReadOne(). |
close, isClosed, performCloseclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitlazyReadOneclose, closeQuietly, closeQuietly, notifyClosingpublic BytesMethodReader(BytesIn in, BytesParselet defaultParselet, MethodEncoderLookup methodEncoderLookup, Object[] objects)
public MethodReaderInterceptorReturns methodReaderInterceptorReturns()
methodReaderInterceptorReturns in interface MethodReaderpublic boolean readOne()
throws net.openhft.chronicle.core.util.InvocationTargetRuntimeException
MethodReaderMethodReader.lazyReadOne().
If there is an exception in the dispatching mechanics then this should be caught and Jvm.warn'd.
If there is an exception in the invocation then this is wrapped in a InvocationTargetRuntimeException
and thrown.readOne in interface MethodReadernet.openhft.chronicle.core.util.InvocationTargetRuntimeException - if the receiver (target method) throwspublic MethodReader closeIn(boolean closeIn)
MethodReadercloseIn in interface MethodReaderCopyright © 2020. All rights reserved.