java.lang.Object
org.springframework.integration.ip.tcp.serializer.TcpCodecs

public final class TcpCodecs extends Object
Factory class to create TCP Serializer/Deserializers used to encode/decode messages to/from a TCP stream. This is used to simplify configuration with Java, such as
 TcpNetServerConnectionFactory server = new TcpNetServerConnectionFactory(1234);
 server.setSerializer(TcpCodecs.lf());
 server.setDeserializer(TcpCodecs.lf());
 ...
 
Since:
5.0
Author:
Gary Russell