Example usage for Java org.springframework.integration.test.util SocketUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
int | findAvailableServerSocket(int seed) Determines a free available server socket (port) using the 'seed' value as the starting port. |
int | findAvailableServerSocket() Determines a free available server socket (port) using an automatically chosen start seed port. |
int | findAvailableUdpSocket() Determines a free available Udp socket using an automatically chosen start seed port. |
int | findAvailableUdpSocket(int seed) Determines a free available Udp socket (port) using the 'seed' value as the starting port. |
List | findAvailableUdpSockets(int seed, int numberOfRequestedPorts) Determines free available udp socket(s) (port) using the 'seed' value as the starting port. |
int | getRandomSeedPort() Determines a random seed port number within the port range #DEFAULT_PORT_RANGE_MIN and #DEFAULT_PORT_RANGE_MAX . |