- All Implemented Interfaces:
- Consumer<Packet>
public final class InboundResponseHandler
extends Object
implements Consumer<Packet>
Responsible for handling responses for invocations. Based on the content of the
response packet, it will lookup the Invocation from the InvocationRegistry and
notify the Invocation.
InboundResponseHandlers are not thread-safe. So if there are multiple threads
processing responses, each thread needs to get its own instance. Only the backup
handling is thread-safe since backups can be completed locally by any thread.