Interface MessageEncoderFactory<T>
-
- Type Parameters:
T
- the message type
public interface MessageEncoderFactory<T>
A factory that creates a new instance ofMessageEncoder
.- Author:
- Apache MINA Project
- See Also:
DemuxingProtocolEncoder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessageEncoder<T>
getEncoder()
Creates a new message encoder.
-
-
-
Method Detail
-
getEncoder
MessageEncoder<T> getEncoder() throws Exception
Creates a new message encoder.- Returns:
- The created encoder
- Throws:
Exception
- If we weren't able to create an encoder
-
-