Interface MessageFactory<T extends MessageBuffer,M extends Message<T>>
- Type Parameters:
T- the type of the message bufferM- the type of the message
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A factory interface for creating messages from a given message buffer.
- Since:
- 2.9.2
-
Method Summary
-
Method Details
-
create
Creates a new message from the provided buffer.- Parameters:
buffer- the buffer to create the message from- Returns:
- a new message created from the buffer
-