public class BytesMethodReaderBuilder extends Object implements MethodReaderBuilder
| Constructor and Description |
|---|
BytesMethodReaderBuilder(BytesIn<?> in)
Constructor for BytesMethodReaderBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
BytesMethodReader |
build(Object... objects)
Constructs the BytesMethodReader instance with the specified components.
|
BytesParselet |
defaultParselet()
Returns the default BytesParselet for this builder.
|
BytesMethodReaderBuilder |
defaultParselet(BytesParselet defaultParselet)
Sets the default BytesParselet for this builder.
|
MethodReaderBuilder |
exceptionHandlerOnUnknownMethod(net.openhft.chronicle.core.onoes.ExceptionHandler exceptionHandler)
Sets the ExceptionHandler instance to use when an unknown method is encountered.
|
MethodReaderBuilder |
metaDataHandler(Object... components)
Throws an UnsupportedOperationException when called.
|
MethodEncoderLookup |
methodEncoderLookup()
Returns the current MethodEncoderLookup function.
|
BytesMethodReaderBuilder |
methodEncoderLookup(MethodEncoderLookup methodEncoderLookup)
Sets the MethodEncoderLookup function for this builder.
|
MethodReaderBuilder |
methodReaderInterceptorReturns(MethodReaderInterceptorReturns methodReaderInterceptorReturns)
Throws an UnsupportedOperationException when called.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpredicate, warnMissingpublic BytesMethodReaderBuilder(BytesIn<?> in)
in - the BytesIn object from which serialized method calls are read.net.openhft.chronicle.core.io.ClosedIllegalStateException - If the resource has been released or closed.net.openhft.chronicle.core.io.ThreadingIllegalStateException - If this resource was accessed by multiple threads in an unsafe waypublic MethodReaderBuilder exceptionHandlerOnUnknownMethod(net.openhft.chronicle.core.onoes.ExceptionHandler exceptionHandler)
exceptionHandlerOnUnknownMethod in interface MethodReaderBuilderexceptionHandler - the ExceptionHandler instancepublic MethodEncoderLookup methodEncoderLookup()
public BytesMethodReaderBuilder methodEncoderLookup(MethodEncoderLookup methodEncoderLookup)
methodEncoderLookup - the MethodEncoderLookup functionpublic BytesParselet defaultParselet()
public BytesMethodReaderBuilder defaultParselet(BytesParselet defaultParselet)
defaultParselet - the default BytesParseletpublic MethodReaderBuilder methodReaderInterceptorReturns(MethodReaderInterceptorReturns methodReaderInterceptorReturns)
methodReaderInterceptorReturns in interface MethodReaderBuildermethodReaderInterceptorReturns - the interceptor instanceUnsupportedOperationException - alwayspublic MethodReaderBuilder metaDataHandler(Object... components)
metaDataHandler in interface MethodReaderBuildercomponents - the metadata handlersUnsupportedOperationException - alwayspublic BytesMethodReader build(Object... objects)
build in interface MethodReaderBuilderobjects - the components for the BytesMethodReaderCopyright © 2024. All rights reserved.