public class TestOccupiedPort
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_SERVER_PORT |
static int |
MAX_SERVER_PORT |
static int |
NEXT_SERVER_PORT_PACE |
java.util.List<java.net.ServerSocket> |
servers |
Constructor and Description |
---|
TestOccupiedPort() |
Modifier and Type | Method and Description |
---|---|
void |
closeServerswhenShutdown() |
void |
debug(java.lang.String message) |
int |
getNextPort(int prevPort) |
static void |
main(java.lang.String[] args) |
void |
occupyPort(int port) |
Copyright © SAS Institute. All Rights Reserved.