Class TcpConnectionServerListeningEvent

All Implemented Interfaces:
Serializable

public class TcpConnectionServerListeningEvent extends IpIntegrationEvent
IpIntegrationEvent emitted when a server begins listening. Useful when the configured port is zero and the operating system chooses the port. Also useful to avoid polling the isListening() if you need to wait before starting some other process to connect to the socket.
Since:
4.3
Author:
Gary Russell
See Also:
  • Constructor Details

    • TcpConnectionServerListeningEvent

      public TcpConnectionServerListeningEvent(TcpServerConnectionFactory connectionFactory, int port)
  • Method Details

    • getPort

      public int getPort()