public interface StreamConnectionFactory
StreamConnections when a new connection is opened.| Modifier and Type | Method and Description |
|---|---|
StreamConnection |
getNewConnection(java.net.InetAddress inetAddress,
int port)
Returns a new handler or null to have the connection close.
|
@Nullable StreamConnection getNewConnection(java.net.InetAddress inetAddress, int port)
inetAddress - The client's (IP) addressport - The remote port on the client side