Uses of Class
org.refcodes.net.PortNotFoundRuntimeException
-
Uses of PortNotFoundRuntimeException in org.refcodes.net
Modifier and TypeClassDescriptionclass
Thrown in case the given portPortAlreadyBoundRuntimeException.getPort()
is already in use.Modifier and TypeMethodDescriptionPortManager.bindAnyPort()
Any free port in the range as defined byPortRange.DYNAMIC_PORTS
is bound (reserved) and returned.PortManager.bindNextPort
(int aBeginPortIndex) The first free port in the range of the given Port-Number and thePortRange.DYNAMIC_PORTS
max port number (as ofPortRange.getMaxValue()
) bound (reserved) and returned.PortManager.bindNextPort
(int aBeginPortIndex, int aEndPortIndex) The first free port in the range of the given begin Port-Number index and the given end Port-Number index is bound (reserved) and returned.