public interface CompilerVisitor
MessagingAgentCompiler
.Modifier and Type | Method and Description |
---|---|
<T extends Message> |
visitConsumer(Class<T> consumedType,
MethodHandle handle)
Visit a message consumer method.
|
void |
visitProducer(MethodHandle handle)
Visit a message producer method.
|
<T extends Message> void visitConsumer(Class<T> consumedType, MethodHandle handle)
T
- (A subtype of) Message typeconsumedType
- Class, representing a message type,
that this consumer is interested inhandle
- Method handle. Method arity is 1 or 2.Consumes
void visitProducer(MethodHandle handle)
handle
- Method handle. Method arity is 1 or 2.Consumes
Copyright © 2016–2021. All rights reserved.