Interface MessageEncoderFactory<T>
- Type Parameters:
T- the message type
- All Known Implementing Classes:
DemuxingProtocolEncoder.DefaultConstructorMessageEncoderFactory, DemuxingProtocolEncoder.SingletonMessageEncoderFactory
public interface MessageEncoderFactory<T>
A factory that creates a new instance of
MessageEncoder.- See Also:
-
Method Summary
-
Method Details
-
getEncoder
Creates a new message encoder.- Returns:
- The created encoder
- Throws:
Exception- If we weren't able to create an encoder
-