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, performClose
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lazyReadOne
close, closeQuietly, closeQuietly, notifyClosing
public BytesMethodReader(BytesIn in, BytesParselet defaultParselet, MethodEncoderLookup methodEncoderLookup, Object[] objects)
public MethodReaderInterceptorReturns methodReaderInterceptorReturns()
methodReaderInterceptorReturns
in interface MethodReader
public boolean readOne()
MethodReader
MethodReader.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 RuntimeInvocationTargetException
and thrown.readOne
in interface MethodReader
public MethodReader closeIn(boolean closeIn)
MethodReader
closeIn
in interface MethodReader
Copyright © 2020. All rights reserved.