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