Example usage for Java org.springframework.integration.ip.tcp.connection TcpNetConnection fields, constructors, methods, implement or subclass
The text is from its open source code.
TcpNetConnection(Socket socket, boolean server, boolean lookupHost, ApplicationEventPublisher applicationEventPublisher, String connectionFactoryName) Constructs a TcpNetConnection for the socket. |
String | getConnectionId() |
void | registerListener(@Nullable TcpListener listener) Set the listener that will receive incoming Messages. |
void | run() If there is no listener, this method exits. |
void | send(Message> message) |
void | setDeserializer(Deserializer> deserializer) |
void | setMapper(TcpMessageMapper mapper) |
void | setSerializer(Serializer> serializer) |