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