Example usage for Java org.springframework.integration.ip.tcp.connection AbstractServerConnectionFactory fields, constructors, methods, implement or subclass
The text is from its open source code.
AbstractServerConnectionFactory(int port) The port on which the factory will listen. |
void | afterPropertiesSet() |
boolean | closeConnection(String connectionId) Close a connection with the specified connection id. |
List | getOpenConnectionIds() Returns a list of (currently) open TcpConnection connection ids; allows, for example, broadcast operations to all open connections. |
int | getPort() |
SocketAddress | getServerSocketAddress() |
void | registerListener(TcpListener listenerToRegister) Registers a TcpListener to receive messages after the payload has been converted from the input data. |
void | setApplicationEventPublisher(ApplicationEventPublisher applicationEventPublisher) |
void | setBeanFactory(BeanFactory beanFactory) |
void | setBeanName(String beanName) |
void | setDeserializer(Deserializer> deserializer) |
void | start() |
void | stop() Stops the server. |