public interface PortManager
| Modifier and Type | Method and Description |
|---|---|
void |
freeManagedPort(InetSocketAddress bindAddress)
Called after the bound socket is to be closed.
|
InetSocketAddress |
getManagedPort(UdpChannel udpChannel,
InetSocketAddress bindAddress)
Called before an OS bind to adjust the binded address and to notify of the bind for the port manager.
|
InetSocketAddress getManagedPort(UdpChannel udpChannel, InetSocketAddress bindAddress) throws BindException
udpChannel - for the UDP endpoint being bound.bindAddress - for the bind.BindException - if the bind should not be performed.void freeManagedPort(InetSocketAddress bindAddress)
bindAddress - used for the bind previously.Copyright © 2014-2023 Real Logic Limited. All Rights Reserved.