| Interface | Description |
|---|---|
| Message<T extends MessageResponse> |
Message interface represents a message the system can process. |
| MessageProcessor<MessageT extends Message<MessageResponseT>,MessageResponseT extends MessageResponse> |
MessageProcessor interface defines methods which allow its implementations to do the
actual work of processing a concrete type of Message implementation and produce a
response that is a concrete implementation of MessageResponse. |
| MessageProcessorRegistry |
MessageProcessorRegistry interface defines methods for adding, removing, and retrieving
MessageProcessors based on the type of the Message. |
| MessageResponse |
MessageResponse interface represents the response returned from processing a Message. |
| Class | Description |
|---|---|
| AbstractMessageProcessor<MessageT extends Message<MessageResponseT>,MessageResponseT extends MessageResponse> |
AbstractMessageProcessor abstract class implements boilerplate methods of the MessageProcessor interface such that the user of this interface does not have to bother. |
| DefaultMessageProcessorRegistry |
DefaultMessageProcessorRegistry class is the default implementation of the
MessageProcessorRegistry interface. |
Copyright © 2018. All rights reserved.